/* Accordion – the page as a stack of giant full-width <details> rows.
   White, black and one vivid colour per row; medium-weight display type. */

:root {
  --bg: #ffffff;
  --ink: #111111;
  --ink-2: #4a4a4a;
  --line: #111111;
  --accent: #2b3bff;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --c1: #2b3bff;  --c1-ink: #ffffff;
  --c2: #ff6418;  --c2-ink: #111111;
  --c3: #7a2cf2;  --c3-ink: #ffffff;
  --c4: #ffd21f;  --c4-ink: #111111;
  --ease: cubic-bezier(.65, 0, .25, 1);
}

body { font-size: 1.0625rem; }
::selection { background: var(--ink); color: #fff; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

/* ---------- header ---------- */
.ac-top {
  display: flex;
  align-items: center;
  gap: 1rem 2.5rem;
  flex-wrap: wrap;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.ac-brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; margin-right: auto; }
.ac-brand__name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; }
.ac-brand__sub { font-size: .875rem; color: var(--ink-2); }
.ac-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.ac-nav a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 500; padding: .25rem 0; }
.ac-nav a::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--dot); transition: transform .3s var(--ease); }
.ac-nav a:hover::before { transform: scale(1.5); }
.ac-nav a:hover { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.ac-nav--1 { --dot: var(--c1); } .ac-nav--2 { --dot: var(--c2); }
.ac-nav--3 { --dot: var(--c3); } .ac-nav--4 { --dot: var(--c4); }
.ac-lang {
  display: inline-grid; place-items: center;
  min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem;
  border: 1.5px solid var(--ink); border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .875rem;
}
.ac-lang:hover { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.ac-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 5vw, 6rem);
  align-items: end;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 5vw, 4.5rem);
}
.ac-hero__title {
  font-size: clamp(2.75rem, 6.4vw, 6.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: .98;
}
.ac-hero__lead { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); max-width: 34rem; color: var(--ink-2); }
.ac-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; }
.ac-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 1.6rem; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
  transition: background-color .25s, color .25s;
}
.ac-btn::after { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c4); }
.ac-btn:hover { background: var(--c1); }
.ac-hero__phone { font-weight: 500; text-underline-offset: .25em; }
.ac-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; font-size: .875rem; }
.ac-hero__meta span { padding: .3rem .8rem; border: 1px solid #c9c9c9; border-radius: 999px; }

/* ---------- accordion rows ---------- */
.ac-stack { border-top: 1px solid var(--line); }
.ac-sec { --row: var(--c1); --row-ink: var(--c1-ink); scroll-margin-top: 0; }
.ac-sec--2 { --row: var(--c2); --row-ink: var(--c2-ink); }
.ac-sec--3 { --row: var(--c3); --row-ink: var(--c3-ink); }
.ac-sec--4 { --row: var(--c4); --row-ink: var(--c4-ink); }

.ac-row { border-bottom: 1px solid var(--line); transition: background-color .45s var(--ease), color .45s var(--ease); }
.ac-row[open] { background: var(--row); color: var(--row-ink); border-bottom-color: var(--row); }

.ac-sum {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 3rem);
  padding: clamp(1rem, 2.2vw, 2rem) var(--gutter);
  cursor: pointer;
  user-select: none;
}
.ac-sum::-webkit-details-marker { display: none; }
.ac-sum__title {
  font-size: clamp(2.6rem, 9.4vw, 9.5rem);
  font-weight: 450;
  letter-spacing: -0.05em;
  line-height: .95;
  padding-bottom: .06em;
  hyphens: manual;
}
.ac-sum__hint { font-size: clamp(.9375rem, 1.2vw, 1.125rem); max-width: 16rem; text-align: right; opacity: .88; }
.ac-sum__mark {
  position: relative;
  width: clamp(3rem, 6.5vw, 6.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid currentColor;
  transition: transform .55s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.ac-sum__mark::before, .ac-sum__mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 44%; height: 2px; background: currentColor; border-radius: 2px;
}
.ac-sum__mark::after { transform: rotate(90deg); }
.ac-sum:hover .ac-sum__mark { background: var(--row); border-color: var(--row); color: var(--row-ink); transform: rotate(90deg); }
.ac-row[open] > .ac-sum .ac-sum__mark { transform: rotate(135deg); background: var(--row-ink); border-color: var(--row-ink); color: var(--row); }
.ac-sec:target .ac-row:not([open]) { background: color-mix(in srgb, var(--row) 18%, #fff); }

/* Smooth open/close where supported. */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .ac-stack { interpolate-size: allow-keywords; }
    .ac-row::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size .6s var(--ease), content-visibility .6s allow-discrete;
    }
    .ac-row[open]::details-content { block-size: auto; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .ac-row, .ac-sum__mark, .ac-nav a::before, .ac-btn { transition: none; }
}

/* ---------- row bodies (shared) ---------- */
.ac-body {
  padding: clamp(.5rem, 2vw, 1.5rem) var(--gutter) clamp(3.5rem, 8vw, 7.5rem);
}
.ac-intro {
  max-width: 46rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.ac-h3 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -0.035em; margin-bottom: 1rem; }
.ac-body p { max-width: 62ch; }

/* Services */
.ac-dev {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid currentColor;
}
.ac-dev__head p { font-size: 1.125rem; }
.ac-focus { display: grid; }
.ac-focus li {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: .5rem 2rem;
  padding: 1.1rem 0 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / .45);
  align-items: baseline;
}
.ac-focus li:first-child { padding-top: 0; }
.ac-focus strong { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; hyphens: manual; }
.ac-dev__note { grid-column: 2; font-size: .9375rem; opacity: .85; }

.ac-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.ac-panel { padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: clamp(1rem, 2vw, 1.75rem); }
.ac-panel--light { background: #fff; color: var(--ink); }
.ac-panel--dark { background: var(--ink); color: #fff; }
.ac-list { margin-top: 1.5rem; display: grid; gap: .1rem; }
.ac-list li { position: relative; padding: .7rem 0 .7rem 2rem; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
.ac-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 1rem; height: 2px; background: var(--c1); }
.ac-panel--dark .ac-list li::before { background: var(--c4); }

/* Approach */
.ac-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid currentColor; }
.ac-steps li { padding: 1.25rem clamp(1rem, 2vw, 2rem) 1.5rem 0; }
.ac-steps li + li { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid rgb(0 0 0 / .35); }
.ac-steps__n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: -0.06em;
  margin-bottom: 1.25rem;
}
.ac-steps h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: .5rem; }
.ac-steps p { hyphens: auto; }

.ac-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.ac-small { background: var(--ink); color: #fff; padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: clamp(1rem, 2vw, 1.75rem); }
.ac-small p + p { margin-top: 1rem; }
.ac-faq { display: grid; gap: .6rem; }
.ac-faq__title { font-size: 1rem; font-weight: 600; font-family: var(--font-body); margin-bottom: .25rem; }
.ac-q { background: #fff; color: var(--ink); border-radius: 1rem; }
.ac-q summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 1.9rem; gap: 1rem; align-items: center;
  padding: 1.1rem 1.25rem; font-weight: 600; line-height: 1.35;
}
.ac-q summary::-webkit-details-marker { display: none; }
.ac-q summary::after {
  content: "+"; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 400; font-size: 1.25rem; line-height: 1;
  transition: transform .35s var(--ease);
}
.ac-q[open] summary::after { transform: rotate(45deg); background: var(--c2); color: var(--ink); }
.ac-q p { padding: 0 1.25rem 1.25rem; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .ac-q summary::after { transition: none; } }

/* Products */
.ac-prods { border-top: 1px solid currentColor; }
.ac-prod {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto;
  gap: 1.5rem clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid rgb(255 255 255 / .4);
}
.ac-prod__art {
  aspect-ratio: 5 / 3;
  border-radius: 1.25rem;
  background: #fff;
  color: var(--c3);
  display: grid; place-items: center;
  overflow: hidden;
}
.ac-art-water svg { width: 84%; }
.ac-prod__meta { margin-top: .75rem; font-size: .9375rem; opacity: .92; }
.ac-link {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.3rem; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.ac-link:hover { background: var(--ink); color: #fff; }
.ac-phone {
  height: 82%; aspect-ratio: 9 / 16; border: 3px solid var(--ink); border-radius: .8rem;
  display: grid; align-content: start; gap: 6%; padding: 14% 9%;
}
.ac-phone i { display: block; height: .5rem; border-radius: 3px; background: var(--c3); }
.ac-phone i:nth-child(2) { width: 70%; background: var(--ink); }
.ac-phone i:nth-child(3) { background: color-mix(in srgb, var(--c3) 35%, #fff); height: 1.2rem; }
.ac-phone i:nth-child(4) { width: 55%; background: var(--ink); }
.ac-phone i:nth-child(5) { background: color-mix(in srgb, var(--c3) 35%, #fff); height: 1.2rem; }
.ac-phone i:nth-child(6) { width: 40%; background: var(--ink); }
.ac-ticket {
  height: 80%; align-self: end; aspect-ratio: 3 / 4; background: #fff; border-bottom: 0; border: 3px solid var(--ink); border-radius: .4rem .4rem 0 0;
  display: grid; align-content: start; gap: .45rem; padding: 12% 10%;
  mask: none;
}
.ac-ticket i { display: block; height: 3px; background: var(--ink); }
.ac-ticket i:nth-child(2) { width: 75%; }
.ac-ticket i:nth-child(3) { width: 85%; }
.ac-ticket b { display: block; margin-top: .4rem; height: .8rem; border-radius: 999px; background: var(--c3); }

/* Contact */
.ac-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.ac-contact__title { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 4.25rem); font-weight: 450; line-height: 1.02; letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
.ac-contact__lead { margin-top: 1.5rem; font-size: 1.125rem; }
.ac-dl { display: grid; border-top: 2px solid currentColor; }
.ac-dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgb(0 0 0 / .3); align-items: baseline; }
.ac-dl dt { font-size: .9375rem; font-weight: 600; }
.ac-big { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.02em; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.ac-big:hover { text-decoration-thickness: 4px; }

/* ---------- footer ---------- */
.ac-foot { background: var(--ink); color: #fff; padding-top: .6rem; }
.ac-foot__bands { display: grid; grid-template-columns: repeat(4, 1fr); height: .6rem; }
.ac-foot__bands span:nth-child(1) { background: var(--c1); }
.ac-foot__bands span:nth-child(2) { background: var(--c2); }
.ac-foot__bands span:nth-child(3) { background: var(--c3); }
.ac-foot__bands span:nth-child(4) { background: var(--c4); }
.ac-foot__inner { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem; }
.ac-foot__mark { font-family: var(--font-display); font-size: clamp(4rem, 17vw, 17rem); font-weight: 450; letter-spacing: -0.06em; line-height: .8; }
.ac-foot__cols { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 1.5rem 3rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .3); font-size: .9375rem; align-items: start; }
.ac-foot__co span { color: #bdbdbd; }
.ac-foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.ac-foot a { text-underline-offset: .25em; }
.ac-foot a:hover { color: var(--c4); }
.ac-foot__copy { color: #bdbdbd; }

/* ---------- legal pages ---------- */
.page-imprint .ac-top, .page-privacy .ac-top { border-bottom: 0; }
.legal { background: var(--c4); border-top: 1px solid var(--line); }
.legal__inner { background: #fff; border-radius: clamp(1rem, 2vw, 2rem); padding: clamp(1.5rem, 5vw, 4rem); max-width: 52rem; }
.legal h1 { font-weight: 450; letter-spacing: -0.045em; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--ink); text-decoration-color: var(--c1); text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ac-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ac-steps li:nth-child(n+3) { border-top: 1px solid rgb(0 0 0 / .35); }
  .ac-prod { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
  .ac-prod .ac-link { grid-column: 2; justify-self: start; }
}
@media (max-width: 900px) {
  .ac-hero, .ac-dev, .ac-duo, .ac-split, .ac-contact { grid-template-columns: minmax(0, 1fr); }
  .ac-dev__note { grid-column: 1; }
  .ac-sum__hint { display: none; }
  .ac-sum { grid-template-columns: minmax(0, 1fr) auto; }
  .ac-foot__cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ac-top { gap: .75rem 1rem; }
  .ac-brand { flex-direction: column; gap: 0; }
  .ac-brand__sub { font-size: .8125rem; }
  .ac-nav { order: 3; width: 100%; gap: .25rem .9rem; font-size: .875rem; }
  .ac-nav a { gap: .4rem; }
  .ac-nav a::before { width: .55rem; height: .55rem; }
  .ac-steps { grid-template-columns: minmax(0, 1fr); }
  .ac-steps li, .ac-steps li + li { padding-left: 0; border-left: 0; }
  .ac-steps li + li { border-top: 1px solid rgb(0 0 0 / .35); }
  .ac-steps__n { font-size: 3.5rem; margin-bottom: .5rem; }
  .ac-focus li { grid-template-columns: minmax(0, 1fr); }
  .ac-prod { grid-template-columns: minmax(0, 1fr); }
  .ac-prod .ac-link { grid-column: 1; }
  .ac-prod__art { max-width: 18rem; }
  .ac-dl > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .ac-sum__title { font-size: clamp(2.25rem, 11vw, 3rem); }
}

.legal h1 { hyphens: auto; -webkit-hyphens: auto; }
