:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #06B6D4;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #FAF5FF;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 70px -30px rgba(30, 27, 75, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.container--split { display: grid; grid-template-columns: 1fr; gap: 2rem; }

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30, 27, 75, 0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(250, 245, 255, 0.92); box-shadow: 0 4px 24px rgba(30, 27, 75, 0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; background: transparent; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; }
.primary-nav { display: none; flex-direction: column; gap: 0; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-md); border-bottom: 1px solid rgba(30, 27, 75, 0.08); }
.primary-nav a { padding: .75rem 0; color: var(--color-neutral-dark); font-weight: 500; border-bottom: 1px solid rgba(30, 27, 75, 0.06); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { color: var(--color-primary) !important; font-weight: 600; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .primary-nav a { padding: 0; border: 0; position: relative; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav a:hover { text-decoration: none; }
  .nav-cta { background: var(--color-primary); color: #fff !important; padding: .55rem 1rem !important; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
  .nav-cta::after { display: none; }
  .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.6); }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 600; padding: .95rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), #6D28D9); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(124, 58, 237, 0.75); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1px solid rgba(30, 27, 75, 0.2); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #06283B; box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.65); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(6, 182, 212, 0.75); text-decoration: none; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero card === */
.hero-card-section { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero-card-section::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 30% 40%, rgba(124, 58, 237, 0.18), transparent 70%),
              radial-gradient(50% 50% at 80% 30%, rgba(6, 182, 212, 0.14), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-card {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30, 27, 75, 0.06);
  text-align: left;
}
.hero-card .eyebrow { font-size: .8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; margin-bottom: 1rem; }
.hero-card h1 { margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: rgba(30, 27, 75, 0.75); max-width: 60ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__figure img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (min-width: 768px) {
  .hero-card-section { padding-block: 5rem 6rem; }
  .hero-card { padding: 4rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: rgba(30, 27, 75, 0.7); }

.intro h2 { text-align: center; }
.intro p { font-size: 1.05rem; color: rgba(30, 27, 75, 0.82); }
.container--narrow.intro-body { text-align: center; }

/* === Split layout === */
@media (min-width: 900px) {
  .container--split { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
}
.split-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff;
  border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.25); }
a.card-link { text-decoration: none; }
a.card-link:hover { text-decoration: none; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: rgba(30, 27, 75, 0.75); font-size: .97rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(6, 182, 212, 0.14));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial blockquote { margin: 0; text-align: center; }
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  font-weight: 500;
  position: relative;
  padding-inline: 1rem;
}
.testimonial blockquote p::before, .testimonial blockquote p::after { content: '„'; color: var(--color-secondary); font-size: 2rem; line-height: 1; }
.testimonial blockquote p::after { content: '“'; }
.testimonial cite { display: block; margin-top: 1.25rem; color: rgba(30, 27, 75, 0.65); font-style: normal; font-size: .95rem; }

/* === CTA Band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: var(--color-neutral-light); padding-block: 3.5rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(250, 245, 255, 0.85); max-width: 52ch; margin-inline: auto; margin-bottom: 1.75rem; }

/* === Stats === */
.stats-grid .stat { background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; border: 1px solid rgba(30, 27, 75, 0.06); box-shadow: var(--shadow-sm); }
.stat__figure { font-family: var(--font-heading); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--color-accent); margin: 0 0 .5rem; }
.stat__body { color: rgba(30, 27, 75, 0.75); font-size: .95rem; margin: 0; }

/* === FAQ === */
.faq details {
  background: #fff;
  border: 1px solid rgba(30, 27, 75, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--color-primary); font-size: 1.5rem; font-weight: 400; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 1rem; color: rgba(30, 27, 75, 0.8); }

/* === Contact form & block === */
.contact-info h2 { margin-top: 0; }
.contact-info address { font-style: normal; margin-bottom: 1.5rem; }
.hours { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(30, 27, 75, 0.08); }
.hours li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(30, 27, 75, 0.08); font-size: .95rem; }
.hours li span:first-child { color: rgba(30, 27, 75, 0.7); }
.contact-form { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid rgba(30, 27, 75, 0.06); }
.contact-form h2 { margin-top: 0; }
.contact-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; margin-top: 1rem; color: rgba(30, 27, 75, 0.85); }
.contact-form input, .contact-form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid rgba(30, 27, 75, 0.15); border-radius: 10px; font: inherit; background: var(--color-neutral-light); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15); }
.contact-form button { margin-top: 1.5rem; width: 100%; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250, 245, 255, 0.85); padding-block: 3rem 1.5rem; margin-top: 4rem; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; } }
.site-footer h4 { color: #fff; margin-bottom: .75rem; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-tag { color: rgba(250, 245, 255, 0.7); font-size: .95rem; margin-top: .75rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-contact a { color: rgba(250, 245, 255, 0.85); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-accent); }
.footer-contact address { font-style: normal; line-height: 1.7; font-size: .95rem; }
.footer-legal { margin-top: 1.25rem; font-size: .85rem; color: rgba(250, 245, 255, 0.6); }
.copyright { border-top: 1px solid rgba(250, 245, 255, 0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(250, 245, 255, 0.6); text-align: center; }

/* === Reveal animations === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: rgba(250, 245, 255, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button { font: inherit; border: 0; padding: .6rem 1rem; border-radius: 999px; cursor: pointer; font-size: .9rem; font-weight: 600; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #06283B; }
.cookie-banner__actions button[data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(250, 245, 255, 0.3); }
.cookie-banner__actions button[data-cookie-settings] { background: rgba(250, 245, 255, 0.1); color: var(--color-neutral-light); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(250, 245, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; background: var(--color-primary); color: #fff; border: 0; padding: .55rem 1rem; border-radius: 999px; font-weight: 600; cursor: pointer; }
