/* COCOAR site styles */
:root {
  --bg: #12142b;
  /* page background */
  --bg-alt: #0d0f22;
  /* gradient end */
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --fg: #f2f5fb;
  --fg-chips: #f2f5fb5c;
  --fg-strong: #ffffff;
  --muted: #9aa6c5;
  --lead: #d5ddf2;
  --brand: #3ec6ff;
  --accent: #8239ff;
  --focus-ring: 0 0 0 3px rgba(130, 57, 255, 0.35);
  color-scheme: dark;
}

.light-theme {
  --bg: #f2f5fb;
  --bg-alt: #e8eef6;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(17, 29, 46, 0.12);
  --fg: #12142b;
  --fg-chips: rgb(17 29 46 / 33%);
  --fg-strong: #09111e;
  --muted: #5b6c82;
  --lead: #4a5b70;
  --brand: #0d74ff;
  --accent: #7440ff;
  --focus-ring: 0 0 0 3px rgba(13, 116, 255, 0.35);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial;
  color: var(--fg);
  background: var(--bg);
  transition: background 0.6s, color 0.4s;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 20% 15%, var(--bg-alt) 0, var(--bg) 55%),
    radial-gradient(circle at 120% 120%, var(--bg) 0, var(--bg) 70%);
  transition: background 0.8s ease;
}

.blob {
  position: absolute;
  filter: blur(60px);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.blob.one {
  width: 520px;
  height: 520px;
  left: -160px;
  top: 80px;
  background: radial-gradient(circle at 30% 30%, var(--brand), transparent 70%);
}

.blob.two {
  width: 640px;
  height: 640px;
  right: -220px;
  top: -160px;
  background: radial-gradient(
    circle at 70% 40%,
    var(--accent),
    transparent 70%
  );
}

.light-theme .blob {
  mix-blend-mode: normal;
  opacity: 0.35;
  filter: blur(80px);
}

/* soften in light mode */

/* Decorative background art (previously inline) */
.bg-art {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background: url("./assets/dark-flat.png") no-repeat left / 40%;
  opacity: 0.13;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: saturate(115%) contrast(105%) blur(7px);
}
.light-theme .bg-art {
  background-image: url("./assets/light-flat.png");
  mix-blend-mode: normal;
  opacity:.18;
  filter:saturate(110%) contrast(102%) blur(6px);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 32px);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}

.brand img {
  display: block;
  height: auto;
  width: clamp(180px, 28vw, 320px);
  transition: filter 0.4s;
}

.brand svg {
  width: 36px;
  height: 36px;
}

.mark {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 1.2rem;
}

.mark .ar {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cfe6ff;
  opacity: 0.9;
}

nav a {
  color: var(--fg);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  opacity: 0.85;
  position: relative;
}

nav a:hover {
  opacity: 1;
}

.cta {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 800;
}

.hero {
  padding: 50px 0;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
}

.lead {
  margin: 0px auto 0;
  margin-bottom: 4em;
  max-width: 760px;
  color: var(--lead);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  transition: color 0.4s;
}

.actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: #fff;
}

.btn.secondary {
  border: 1px solid var(--border);
  color: var(--fg);
}

.chip {
  display: inline-block;
  padding: 0.25em 1.15em;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-chips);
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  transition: 0.25s background, 0.25s color, 0.25s border-color;
  backdrop-filter: blur(20px);
  cursor: pointer;
}

.chip:hover {
  color: #f2f5fb;
}


.light-theme .chip:hover {
  color: #4a5b70;
}

.stripe {
  margin: 10px 0 16px;
  padding: 32px clamp(16px, 3vw, 28px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0)
  );
}

.stripe h2 {
  margin: 0;
  font-size: 1.35rem;
}

footer {
  padding: 24px 0;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.points {
  margin-top: 60px;
}

.point-desc {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  display: block;
  margin-top: 4px;
  max-width: 260px;
}

/* Theme switch (static pill, matches language pill) */
.theme-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 30px;
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

.light-theme .theme-switch {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

.theme-switch button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s color, 0.3s opacity;
}

.theme-switch button:hover {
  opacity: 1;
  color: var(--brand);
}

.theme-switch button[aria-pressed="true"] {
  color: var(--brand);
  opacity: 1;
  cursor: default;
}

.theme-switch button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Language links (simple, distinct from theme switch) */
.lang-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 30px;
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

.light-theme .lang-links {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
}

.lang-links a,
.lang-links span {
  color: var(--fg);
  text-decoration: none;
  display: inline-block;
  transition: 0.25s color, 0.25s opacity;
}

.lang-links a {
  opacity: 0.6;
  position: relative;
}

.lang-links a:hover {
  opacity: 1;
  color: var(--brand);
}

.lang-links a.active {
  color: var(--brand);
  opacity: 1;
  pointer-events: none;
  cursor: default;
}

.light-theme .lang-links a.active {
  color: var(--brand);
}

/* Back link (Impressum navigation) */
.back {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
}

.back:hover {
  text-decoration: underline;
}

/* Layout for chips container (moved from inline) */
.chips { 
  display:flex; 
  flex-wrap:wrap; 
  gap:14px; 
  margin:38px 0 12px; 
  justify-content:center; 
}

/* Pillars (brand pillars replacing service trio) */
.pillars { 
  display:flex; 
  gap:40px; 
  justify-content:center; 
  margin:10px 0 0; 
  flex-wrap:wrap; 
}
.pillar { 
  flex:1 1 220px; 
  max-width:260px; 
}
.pillar-desc { 
  color:var(--muted); 
  font-size:0.82rem; 
  line-height:1.4; 
  display:block; 
  margin-top:4px; 
  max-width:260px; 
}
