/* ===== bodX.app — plain HTML/CSS, no cookies, no tracking ===== */

:root {
  --bg: #0b0f14;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #8cffc7;
  --accent2: #9ad0ff;
  --danger: #ff7a7a;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.18);
  --max: 1100px;

  --gradient-accent: linear-gradient(
    135deg,
    rgba(140, 255, 199, 0.95),
    rgba(154, 208, 255, 0.95)
  );
  --gradient-accent-bg: linear-gradient(
    135deg,
    color-mix(in oklab, var(--accent) 30%, transparent),
    color-mix(in oklab, var(--accent2) 26%, transparent)
  );
  --gradient-step-bg: linear-gradient(
    135deg,
    color-mix(in oklab, var(--accent) 28%, transparent),
    color-mix(in oklab, var(--accent2) 24%, transparent)
  );
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fb;
    --panel: rgba(0, 0, 0, 0.04);
    --panel2: rgba(0, 0, 0, 0.07);
    --text: rgba(0, 0, 0, 0.88);
    --muted: rgba(0, 0, 0, 0.68);
    --faint: rgba(0, 0, 0, 0.52);
    --border: rgba(0, 0, 0, 0.12);
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  }
}

/* === Base === */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  background:
    radial-gradient(
      1200px 700px at 15% -10%,
      rgba(140, 255, 199, 0.25),
      transparent 60%
    ),
    radial-gradient(
      1000px 600px at 105% 0%,
      rgba(154, 208, 255, 0.22),
      transparent 55%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Utility Classes === */
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card.pad {
  padding: 18px;
}

.brand-muted {
  color: var(--muted);
}

.text-muted {
  color: var(--muted);
}

.text-faint {
  color: var(--faint);
}

/* === Navigation === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.logo:after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65),
    transparent 55%
  );
  transform: rotate(25deg);
}

.navlinks {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  font-size: 14px;
  color: var(--muted);
}

.navlinks a {
  padding: 8px 10px;
  border-radius: var(--radius-pill);
}

.navlinks a:hover {
  background: var(--panel);
  text-decoration: none;
  color: var(--text);
}

/* === Buttons === */
.cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 650;
  box-shadow: none;
  text-decoration: none;
}

.btn:hover {
  background: var(--panel2);
  text-decoration: none;
}

.btn.primary {
  border-color: color-mix(in oklab, var(--accent) 45%, var(--border));
  background: var(--gradient-accent-bg);
}

.btn.primary:hover {
  filter: saturate(1.05);
}

.cta-hero {
  margin-top: 14px;
}

/* === Hero Section === */
header.hero {
  padding: 70px 0 44px;
}

.heroGrid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent);
}

h1 {
  font-size: clamp(34px, 4vw, 56px);
  margin: 14px 0 12px;
  line-height: 1.05;
  letter-spacing: -0.7px;
}

.subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 62ch;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--faint);
  font-size: 13px;
}

.pill {
  border: 1px dashed var(--border);
  background: color-mix(in oklab, var(--panel) 70%, transparent);
  padding: 8px 10px;
  border-radius: var(--radius-pill);
}

/* === Metrics === */
.metric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric .box {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 65%, transparent);
  border-radius: 16px;
  padding: 12px;
  min-height: 84px;
}

.metric .big {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.metric .small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

/* === Sections === */
section {
  padding: 28px 0;
}

.sectionTitle {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.sectionTitle-compact {
  margin-bottom: 10px;
}

.sectionTitle-small {
  font-size: 18px;
  margin: 0;
}

.sectionTitle h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.sectionTitle p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
  font-size: 14px;
}

/* === Grid Layouts === */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* === Feature Boxes === */
.feature {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 70%, transparent);
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* === Process Steps === */
.step {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 70%, transparent);
}

.step .n {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: var(--gradient-step-bg);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* === Card Styles === */
.card-title {
  margin: 0 0 10px;
}

.card-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-footer-text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.pills-card {
  margin-top: 12px;
}

/* === Contact === */
.contactCard {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contactRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.contactRow-bordered {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

code.inline {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel) 80%, transparent);
}

/* === Impressum === */
.impressum-main {
  margin: 0 0 10px;
}

.impressum-details {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.impressum-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* === Privacy/Datenschutz === */
.privacy-title {
  margin: 0 0 8px;
}

.privacy-text {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.privacy-text-last {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.privacy-disclaimer {
  margin-top: 12px;
  color: var(--faint);
  font-size: 13px;
}

/* === Footer === */
footer {
  padding: 28px 0 50px;
  color: var(--faint);
  font-size: 13px;
}

.footgrid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footgrid-right {
  text-align: right;
}

/* === Accessibility === */
.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 18px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  background: var(--panel2);
  border: 1px solid var(--border);
  z-index: 999;
}

/* === Responsive === */
@media (max-width: 900px) {
  .heroGrid,
  .grid3,
  .split,
  .process {
    grid-template-columns: 1fr;
  }

  header.hero {
    padding-top: 42px;
  }
}
