/* The sections of the home page, top to bottom. */

/* the approval card */
.fk { display: grid; gap: 8px; padding: 14px 16px 16px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -28px rgba(4,10,60,.7), inset 0 0 0 1.5px #00781d; font-size: .875rem; line-height: 1.4; }
.fk-kopf { display: flex; align-items: center; gap: 8px; font-weight: 650; color: #00661a; letter-spacing: -0.01em; }
.fk-fig { display: block; flex: none; width: 26px; height: 26px; }
.fk-grund { color: var(--ink-2); }
.fk-an { color: var(--steel); font-size: .8125rem; }
.fk-betreff { font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.25; }
.fk-knoepfe { display: flex; gap: 8px; margin-top: 4px; }
.fk-knoepfe span { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .8125rem; line-height: 1; }
.fk-ja { background: #00781d; color: #fff; }
.fk-nein { background: var(--tile); color: var(--ink); }
/* trust bar: three facts right below the hero */
.trust { background: var(--tile); padding: 22px var(--gutter); }
.trust ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.008em; color: var(--ink); white-space: nowrap; }
.trust-ms { flex: none; width: 20px; height: 20px; }
.trust-see { flex: none; width: 49px; height: 26px; }
.trust-aws { flex: none; width: auto; height: 26px; }
@media (max-width: 860px) { .trust ul { justify-content: center; } }
@media (max-width: 560px) { .trust { padding: 18px var(--gutter); } .trust li { font-size: .8125rem; gap: 8px; } .trust-aws { height: 22px; } .trust-see { width: 42px; height: 22px; } }

/* an example: one SunMate with its routines on the left, three cards from its report on the right */
.alltag { padding: var(--pad) var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px clamp(40px, 6vw, 104px); align-items: start; }
.alltag-text { display: grid; gap: 22px; max-width: 62ch; }
.alltag-liste { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.alltag-mate { display: flex; align-items: center; gap: 16px; justify-self: start; padding: 12px 22px 12px 12px; border-radius: 999px; background: var(--tile); }
.alltag-fig { display: block; flex: none; width: 68px; height: 68px; padding: 11px; border-radius: 50%; background: #fff; box-shadow: 0 18px 30px -18px rgba(14,16,32,.45); animation: schweben 4.2s ease-in-out infinite; }
.alltag-mate p { display: grid; gap: 2px; line-height: 1.3; }
.alltag-mate b { font-size: 1.25rem; font-weight: 660; letter-spacing: -0.02em; }
.alltag-mate p span { color: var(--steel); font-size: .9375rem; }
.alltag-mehr { max-width: 46ch; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .alltag-fig { animation: none; } }
.alltag-liste li { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-lead); line-height: 1.4; letter-spacing: -0.012em; }
.bericht { position: sticky; top: 92px; display: grid; gap: 10px; }
.bericht-karte { padding: 18px; border-radius: var(--r); background: var(--tile); display: grid; gap: 12px; }
.bericht-kopf { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; letter-spacing: -0.015em; }
.bericht-kopf .jc-fig { display: block; flex: none; width: 34px; height: 34px; padding: 4px; border-radius: 50%; background: #fff; }
.bericht-kopf b { font-weight: 650; }
.bericht-zeit { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--steel); white-space: nowrap; }
.bericht-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bericht-liste li { display: grid; gap: 8px; justify-items: start; padding: 14px 16px; border-radius: 16px; background: #fff; }
.bericht-liste p { line-height: 1.45; }
.chip { padding: 4px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-text); font-size: .8125rem; font-weight: 650; line-height: 1.2; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: var(--steel); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #9aa0b3; }
.status--wartet { color: #00661a; } .status--wartet::before { background: #00781d; }
@media (max-width: 900px) {
  .alltag { grid-template-columns: 1fr; gap: 24px; }
  .bericht { position: static; }
}

/* approval: the card, then real chats of the SunMates with what came in, what was done, what waits */
.freigabe { position: relative; background: var(--tile); padding: var(--pad) var(--gutter); display: grid; gap: clamp(40px, 6vw, 80px); }
.freigabe-oben { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px clamp(40px, 6vw, 104px); align-items: center; }
.freigabe-text { display: grid; gap: 20px; max-width: 60ch; line-height: 1.6; }
.freigabe-text .h2 { line-height: 1.04; max-width: 16ch; }
.freigabe-bild { display: grid; justify-items: start; }
.fk--gross { width: 100%; max-width: 400px; padding: 20px 22px 22px; gap: 10px; font-size: 1rem; box-shadow: 0 40px 80px -40px rgba(14,16,32,.5), inset 0 0 0 1.5px #00781d; }
.fk--gross .fk-fig { width: 32px; height: 32px; }
.fk--gross .fk-knoepfe span { padding: 11px 18px; font-size: .9375rem; }
@media (max-width: 900px) { .freigabe-oben { grid-template-columns: 1fr; } }

/* connectors: twelve tiles of one size, each with its mark */
.anbindungen { background: var(--tile); padding: var(--pad) var(--gutter); display: grid; gap: 24px; }
.anb-kopf { display: grid; gap: 16px; }
.anb-kopf .h2 { max-width: 20ch; } .anb-kopf .lead { max-width: 62ch; }
.anb-raster { margin: 8px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.anb-raster li { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 12px 14px; border-radius: 16px; background: #fff; font-size: .9375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.008em; }
.anb-raster img { flex: none; width: auto; height: 24px; max-width: 84px; object-fit: contain; }
.anb-frage { font-weight: 600; }
.anb-frage a { color: var(--brand-text); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
@media (max-width: 1100px) { .anb-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .anb-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .anb-raster li { padding: 10px 12px; font-size: .875rem; } }

/* start: one request that was left unanswered, in four steps */
.start { position: relative; padding: var(--pad) var(--gutter); display: grid; gap: clamp(28px, 4vw, 48px); }
.start-kopf .h2 { max-width: 21ch; }
.start-schluss { max-width: 34ch; font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); font-weight: 620; letter-spacing: -0.028em; line-height: 1.18; }

/* phones: the trial button stays at the bottom edge once the one in the hero is out of view */
.sticky { display: none; }
@media (max-width: 767px) {
  .sticky:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 14px; height: calc(64px + env(safe-area-inset-bottom)); padding: 0 16px env(safe-area-inset-bottom); background: rgba(255,255,255,.94); box-shadow: 0 -1px 0 var(--rule), 0 -18px 36px -28px rgba(14,16,32,.5); }
  .sticky .btn { flex: 1; padding: 13px 16px; }
  .sticky-zwei { flex: none; font-size: .875rem; font-weight: 600; color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
  body.has-banner .sticky { display: none; }
  body.has-sticky .footer { padding-bottom: 64px; }
  body.has-sticky .offen-liste { bottom: 76px; }
}
