/* aktive-ergotherapie.de — Design Tokens
   Editorial / modern-mutig. Keine KI-Optik: keine Gradienten,
   keine pastelligen Hintergründe, keine generischen Icons. */

:root {
  /* —— Color —— */
  --bg:        #F4F1EA;          /* warmes Off-White */
  --bg-2:      #ECE7DC;          /* zweite Bühne */
  --paper:     #FFFFFF;
  --ink:       #15201B;          /* tiefes Schwarz-Grün */
  --ink-2:     #2A352F;
  --ink-soft:  #5C685F;
  --rule:      #C9C3B4;          /* warme Trennlinien */
  --rule-soft: #DCD6C7;

  --accent:        oklch(0.68 0.17 45);   /* terrakotta */
  --accent-ink:    oklch(0.34 0.12 38);   /* dunkler Akzent */
  --accent-wash:   oklch(0.93 0.04 55);   /* sehr leichte Akzentfläche */

  --sage:      oklch(0.78 0.04 145);
  --sage-deep: oklch(0.45 0.05 150);

  /* —— Type —— */
  --serif:  "Instrument Serif", "Times New Roman", serif;
  --sans:   "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* —— Scale —— */
  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.85rem);
  --step-0:  clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --step-2:  clamp(1.4rem, 1.2rem + 0.9vw, 1.75rem);
  --step-3:  clamp(2rem, 1.6rem + 1.7vw, 2.6rem);
  --step-4:  clamp(2.8rem, 2.1rem + 3vw, 4rem);
  --step-5:  clamp(4rem, 2.8rem + 5.4vw, 6.8rem);
  --step-6:  clamp(5.5rem, 3.2rem + 8vw, 9.5rem);

  /* —— Layout —— */
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;       /* sehr dezent, nicht "App-rund" */
  --radius-lg: 10px;

  /* —— Motion —— */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* —— Type utilities —— */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px; background: currentColor;
}
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.display em { font-style: normal; }

.headline {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* —— Container —— */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow {
  width: 22px; height: 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: currentColor;
  color: var(--bg);
  font-size: 12px;
}
.btn .arrow svg { width: 10px; height: 10px; }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary .arrow { background: var(--accent); color: var(--ink); }

.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent .arrow { background: var(--ink); color: var(--accent); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost .arrow { background: var(--ink); color: var(--bg); }

/* —— Photo placeholder (until real photos are dropped in) —— */
.ph {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    #DCD6C7 0 2px, transparent 2px 14px
  ), var(--bg-2);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--bg);
  padding: 4px 8px;
  margin: 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.ph.dark {
  background: repeating-linear-gradient(
    135deg,
    #243029 0 2px, transparent 2px 14px
  ), #1B2620;
}
.ph.dark::after { background: var(--ink); color: var(--bg); border-color: var(--ink-2); }
.ph.accent {
  background: repeating-linear-gradient(
    135deg,
    oklch(0.78 0.13 45) 0 2px, transparent 2px 14px
  ), oklch(0.88 0.08 55);
  border-color: oklch(0.7 0.13 50);
}

/* —— Tag —— */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.tag .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
}

/* —— Rule —— */
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* —— Section —— */
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.section.dark { background: var(--ink); color: var(--bg); }
.section.dark .lead, .section.dark .eyebrow { color: #C7CCC9; }
.section.dark .rule { background: #2C3933; }
.section.dark .tag { background: transparent; border-color: #3B4A43; color: #C7CCC9; }
.section.paper { background: var(--paper); }
.section.accent { background: var(--accent); color: var(--ink); }

/* —— Cards —— */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 28px;
}

/* —— Sticky note style —— */
.note {
  background: var(--accent-wash);
  border-left: 2px solid var(--accent);
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-2);
}

/* —— Responsive helpers —— */
.grid { display: grid; gap: 24px; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center  { align-items: center; }
.wrap    { flex-wrap: wrap; }
.gap-s   { gap: 12px; }
.gap     { gap: 24px; }
.gap-l   { gap: 48px; }
