:root {
  --ink: #141225;
  --ink-soft: #524e66;
  --ink-faint: #8b879c;
  --paper: #fbfaff;
  --surface: #ffffff;
  --line: #e7e4f2;
  --brand: #662d91;
  --brand-deep: #4b1f6c;
  --brand-tint: #f1eaf8;
  --brand-tint-2: #e3d6f1;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 18, 37, 0.04), 0 12px 32px -16px rgba(102, 45, 145, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }
a:hover { color: var(--brand-deep); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* language blocks */
[data-i18n] { display: none; }
html[lang="de"] [data-i18n="de"],
html[lang="en"] [data-i18n="en"] { display: revert; }

/* header */
header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand img { display: block; height: 32px; width: auto; }

.brand-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

nav.main { display: flex; gap: 28px; }

nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}

nav.main a:hover { color: var(--brand); }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 140%;
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(102, 45, 145, 0.14), transparent 70%),
    radial-gradient(45% 45% at 85% 10%, rgba(102, 45, 145, 0.10), transparent 70%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-2);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 18ch;
}

h1 em {
  font-style: normal;
  color: var(--brand);
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 36px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(102, 45, 145, 0.6);
}

.btn-primary:hover { background: var(--brand-deep); color: #fff; }

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--brand-tint-2); color: var(--ink); }

/* sections */
section { padding: 72px 0; }

.section-head { max-width: 62ch; margin-bottom: 40px; }

.section-head .kicker {
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover { transform: translateY(-2px); border-color: var(--brand-tint-2); }

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-tint);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon svg { width: 24px; height: 24px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -0.01em; }

.card p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

/* about */
.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-grid p { color: var(--ink-soft); font-size: 16.5px; margin: 0 0 16px; }

.principles { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

.principles li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.principles .num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.principles strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
.principles span.text { display: block; color: var(--ink-soft); font-size: 14.5px; }

/* contact */
.contact-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 20px 50px -24px rgba(75, 31, 108, 0.7);
}

.contact-card h2 { color: #fff; margin-bottom: 10px; }
.contact-card p { color: rgba(255, 255, 255, 0.82); margin: 0; font-size: 16.5px; }

.contact-card .btn {
  background: #fff;
  color: var(--brand-deep);
  justify-self: end;
}

.contact-card .btn:hover { background: var(--brand-tint); color: var(--brand-deep); }

/* footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  color: var(--ink-soft);
  font-size: 14px;
}

footer.site .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

footer.site .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site .links a { color: var(--ink-soft); text-decoration: none; }
footer.site .links a:hover { color: var(--brand); }

.lang {
  display: inline-flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
}

.lang button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
}

.lang button.active { background: var(--brand); color: #fff; }

footer.site .copy { margin-top: 22px; color: var(--ink-faint); font-size: 13px; }

/* legal pages */
.legal { max-width: 760px; padding: 64px 24px 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; max-width: none; }
.legal .subtitle { color: var(--ink-faint); margin: 0 0 40px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; }
.legal h3 { font-size: 16.5px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal address { font-style: normal; }

@media (max-width: 820px) {
  .services { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { grid-template-columns: 1fr; padding: 32px; }
  .contact-card .btn { justify-self: start; }
  nav.main { display: none; }
  .hero { padding: 72px 0 64px; }
  section { padding: 56px 0; }
}
