/* Shop Add-ons header (17.10.2026): layout after reevo.ai/integrations.
   Eyebrow, large serif headline, then a row with lead + button (left)
   and a loose grid of square app tiles (right). No border radius. */

body .ah { padding: 6.5rem 0 8rem; background: #fff; overflow-x: clip; }
body .ah_eyebrow { margin: 0 0 1.5rem; }
body .ah_h1 {
  max-width: 70%;
  margin: 0;
  font-family: var(--_typography---font-styles--heading);
  font-size: 72px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #111;
  text-wrap: balance;
}

body .ah_row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 4.5rem;
}
body .ah_text { flex: 0 1 30rem; min-width: 0; }
body .ah_lead {
  margin: 0;
  font-family: var(--_typography---font-styles--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #111;
}
body .ah_lead strong { font-weight: 600; }
body .ah_btn { margin-top: 2.5rem; max-width: 22rem; }

/* App tile cluster: 6 x 5 grid of square cells, tiles placed by --c / --r */
body .ah_grid {
  --tile: 80px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(6, var(--tile));
  grid-template-rows: repeat(5, var(--tile));
  margin: 0;
  padding: 0;
  list-style: none;
}
body .ah_tile {
  grid-column: var(--c);
  grid-row: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--tile);
  height: var(--tile);
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  background: #fff;
  color: var(--fg);
}
body .ah_tile.is-fill { border-color: var(--bg); background: var(--bg); }
body .ah_tile svg { width: var(--s, 42%); height: var(--s, 42%); fill: currentColor; }

@media (prefers-reduced-motion: no-preference) {
  body .ah_tile { animation: ah-tile-in .6s cubic-bezier(.19, 1, .22, 1) both; animation-delay: calc(.25s + var(--i) * 70ms); }
  @keyframes ah-tile-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
}

@media (max-width: 991px) {
  body .ah { padding: 5rem 0 6rem; }
  body .ah_h1 { max-width: none; font-size: 52px; }
  body .ah_row { flex-direction: column; align-items: flex-start; gap: 3.5rem; margin-top: 3rem; }
  body .ah_text { flex: none; max-width: 34rem; }
  body .ah_grid { --tile: 64px; }
}
@media (max-width: 719px) {
  body .ah { padding: 4rem 0 4.5rem; }
  body .ah_h1 { font-size: 42px; }
  body .ah_btn { margin-top: 2rem; max-width: none; }
}
@media (max-width: 479px) {
  body .ah_h1 { font-size: 36px; }
  body .ah_grid { --tile: 52px; }
}

/* Paper comments 17.10.2026: headline wider ("hier darf headline mehr maxwidth haben");
   from 991 down the tiles spread over the full width in their own arrangement ("custom anordnung, dass width gefüllt wird") */
body .ah_h1 { max-width: 88%; }
@media (max-width: 991px) {
  body .ah_h1 { max-width: none; }
  body .ah_row { align-items: stretch; }
  body .ah_grid { width: 100%; grid-template-columns: repeat(10, 1fr); grid-template-rows: none; grid-auto-rows: auto; }
  body .ah_tile { grid-column: var(--c2); grid-row: var(--r2); width: 100%; height: auto; aspect-ratio: 1; }
}
@media (max-width: 719px) {
  body .ah_grid { grid-template-columns: repeat(7, 1fr); }
  body .ah_tile { grid-column: var(--c3); grid-row: var(--r3); }
}

/* 21.10.2026, Christian at ~930 / ~680: "hier fehlt spacing nach oben", "logos visuell nicht mittig in den blöcken, tick zu weit
   rechts", "paragraph auch nicht bold" and "nicht mein normales spacing von headline zu paragraph" - the tiles lose the list
   indent they inherited (6.5 px left), the header gets the top and headline-to-text spacing of the other service headers (.lh) */
body .ah_tile { padding: 0; }
@media (max-width: 991px) {
  body .ah { padding-top: 9rem; }
  body .ah_row { margin-top: 6.5rem; }
  body .ah_lead strong { font-weight: inherit; }
}
@media (max-width: 719px) {
  body .ah { padding-top: 6.5rem; }
  body .ah_row { margin-top: 5.3rem; }
}
