/* Home section 2: quick start into the funnel + trust (30.09.2026). */
.qs {
  position: relative;
  z-index: 2;
  /* starts in the hero wave colour (#faf9f6, landing-story.css) so there is no visible edge */
  background: linear-gradient(180deg, #faf9f6 0%, #fbf6f1 100%);
  padding: clamp(40px, 5vw, 76px) 0 clamp(48px, 6vw, 88px);
  font-family: var(--gk-font, "Instrument Sans", Arial, sans-serif);
  color: var(--gk-ink, #181b20);
}
.qs-wrap {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.qs .qs-title {
  margin: 0 0 12px;
  font-size: var(--gk-heading-compact, clamp(28px, 3vw, 42px));
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.qs .qs-lead {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--gk-muted, #61656d);
}
.qs-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.qs-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 26px 16px 22px;
  background: #fff;
  border: 1.5px solid #ece6e0;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(24, 27, 32, 0.04), 0 10px 30px -18px rgba(24, 27, 32, 0.25);
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.2s, box-shadow 0.22s;
}
.qs-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 10px;
  color: var(--gk-ink, #181b20);
  transition: color 0.2s;
}
.qs-icon svg { width: 100%; height: 100%; }
.qs .qs-tile strong { font-size: 17px; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.qs .qs-tile small { font-size: 14px; color: var(--gk-muted, #61656d); margin-bottom: 16px; }
.qs-go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: auto;
  border-radius: 50%;
  background: #fff3eb;
  color: var(--gk-orange, #ee671f);
  transition: background 0.2s, color 0.2s, transform 0.22s;
}
.qs-go svg { width: 18px; height: 18px; }
.qs-tile:hover,
.qs-tile:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gk-orange, #ee671f);
  box-shadow: 0 2px 4px rgba(24, 27, 32, 0.05), 0 22px 40px -22px rgba(238, 103, 31, 0.55);
  outline: none;
}
.qs-tile:hover .qs-icon,
.qs-tile:focus-visible .qs-icon { color: var(--gk-orange, #ee671f); }
.qs-tile:hover .qs-go,
.qs-tile:focus-visible .qs-go { background: var(--gk-orange, #ee671f); color: #fff; transform: translateX(3px); }
.qs-tile:active { transform: translateY(-1px) scale(0.985); }
.qs .qs-open {
  display: inline-block;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gk-ink, #181b20);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.qs-open svg { width: 16px; height: 16px; margin-left: 6px; vertical-align: -2px; transition: transform 0.2s; }
.qs-nowrap { white-space: nowrap; }
.qs-open svg,
.qs-facts svg { display: inline-block; }
.qs-open:hover { color: var(--gk-orange, #ee671f); }
.qs-open:hover svg { transform: translateX(3px); }

.qs-trust {
  display: grid;
  gap: 14px;
}
.qs-score {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 28px 24px 24px;
  background: #fff;
  border: 1.5px solid #ece6e0;
  border-radius: 20px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s;
}
.qs-score:hover { border-color: #2c9b5a; }
.qs-em-logo { height: 22px; width: auto; }
.qs-score-row { display: flex; align-items: center; gap: 12px; }
.qs-score-row b { font-size: 44px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.qs-score-row img { height: 22px; width: auto; }
.qs-score small { font-size: 14px; color: var(--gk-muted, #61656d); }
.qs-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.qs .qs-facts > * {
  margin: 0;
  display: grid;
  gap: 4px;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1.5px solid #ece6e0;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
}
.qs .qs-facts b { font-size: 30px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; color: var(--gk-orange, #ee671f); }
.qs .qs-facts span { font-size: 14px; line-height: 1.35; color: var(--gk-muted, #61656d); }
.qs-facts svg { width: 13px; height: 13px; vertical-align: -2px; }
.qs-facts a:hover { border-color: var(--gk-orange, #ee671f); }

@media (max-width: 1080px) {
  .qs-wrap { grid-template-columns: 1fr; }
  .qs-trust { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
  .qs-facts { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .qs-wrap { width: calc(100% - 32px); gap: 22px; }
  .qs .qs-title { font-size: 30px; }
  .qs .qs-lead { font-size: 16px; margin-bottom: 18px; }
  .qs-tiles { gap: 8px; }
  .qs-tile { padding: 16px 6px 14px; border-radius: 16px; gap: 2px; }
  .qs-icon { width: 60px; height: 60px; margin-bottom: 6px; }
  .qs-icon svg { stroke-width: 2.8; }
  .qs .qs-tile strong { font-size: 14px; }
  .qs .qs-tile small { display: none; }
  .qs .qs-tile strong { margin-bottom: 10px; }
  .qs .qs-open { font-size: 15px; }
  .qs-go { width: 28px; height: 28px; margin-top: 8px; }
  .qs-go svg { width: 15px; height: 15px; }
  .qs-trust { grid-template-columns: 1fr; }
  .qs-score { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: 16px 18px; column-gap: 16px; }
  .qs-em-logo { grid-column: 1 / -1; height: 18px; }
  .qs-score-row b { font-size: 34px; }
  .qs-score-row img { height: 18px; }
  .qs-score small { grid-column: 1 / -1; font-size: 13px; }
  .qs-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .qs .qs-facts > * { padding: 14px; }
  .qs .qs-facts b { font-size: 24px; }
  .qs .qs-facts span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .qs-tile, .qs-go, .qs-open svg { transition: none; }
}

/* Tile -> funnel (30.09.2026, "smooth weitergeleitet"): both pages opt in to a same-origin view
   transition; the funnel is prefetched on hover (speculation rules in quickstartHtml.ts). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.22s cubic-bezier(0.4, 0, 1, 1) both qs-leave; }
::view-transition-new(root) { animation: 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both qs-enter; }
@keyframes qs-leave { to { opacity: 0; transform: scale(0.985); } }
@keyframes qs-enter { from { opacity: 0; transform: translateY(14px); } }
.qs-tile.qs-picked { border-color: var(--gk-orange, #ee671f); background: #fff7f1; transform: scale(0.98); }
.qs-tile.qs-picked .qs-icon { color: var(--gk-orange, #ee671f); }
.qs-tile.qs-picked .qs-go { background: var(--gk-orange, #ee671f); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Sub pages: the quick start follows the page hero; spacing matches the content sections. */
.original-page-content .qs,
.g-page .qs { margin: 0; }

/* Closing band before the footer on every content page (Thermondo pattern, 30.09.2026). */
.qs-close {
  position: relative;
  overflow: hidden;
  background: #f5f1ec;
  padding: clamp(56px, 7vw, 104px) 16px;
  font-family: var(--gk-font, "Instrument Sans", Arial, sans-serif);
  color: var(--gk-ink, #181b20);
  text-align: center;
}
.qs-close::before {
  content: "";
  position: absolute;
  left: -18vw;
  bottom: -60vw;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  border: clamp(40px, 7vw, 110px) solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.qs-close-inner { position: relative; max-width: 860px; margin: 0 auto; display: grid; justify-items: center; gap: 18px; }
.qs-close .qs-close-inner h2 {
  margin: 0;
  font-size: var(--gk-heading-size, clamp(36px, 4.1vw, 60px));
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -0.037em;
  text-wrap: balance;
}
.qs-close h2 .gk-heading-accent { display: block; }
.qs-close > .qs-close-inner > p:not(.qs-close-ref) { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.5; color: var(--gk-muted, #61656d); }
.qs-close-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 17px 30px;
  border-radius: 999px;
  background: var(--gk-orange, #ee671f);
  color: #fff;
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 16px 30px -18px rgba(238, 103, 31, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}
.qs-close-cta svg { width: 20px; height: 20px; transition: transform 0.2s; }
.qs-close-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -18px rgba(238, 103, 31, 0.95); }
.qs-close-cta:hover svg { transform: translateX(3px); }
.qs-close-proof .qs-score { background: transparent; border: 0; padding: 4px 0 0; grid-template-columns: auto auto auto; align-items: center; gap: 12px; }
.qs-close-proof .qs-score-row b { font-size: 26px; }
.qs-close-proof .qs-score-row img { height: 18px; }
.qs-close-proof .qs-em-logo { height: 18px; }
.qs-close-proof small { font-size: 14px; }
.qs-close-ref { margin: 4px 0 0; font-size: 16px; color: var(--gk-ink, #181b20); }
.qs-close-ref a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.qs-close-ref a:hover { color: var(--gk-orange, #ee671f); }
.qs-close-ref svg { width: 14px; height: 14px; vertical-align: -2px; }
@media (max-width: 700px) {
  .qs-close .qs-close-inner h2 { font-size: 32px; }
  .qs-close > .qs-close-inner > p:not(.qs-close-ref) { font-size: 16px; }
  .qs-close-cta { width: 100%; justify-content: center; font-size: 17px; }
  .qs-close-proof .qs-score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .qs-close-ref { font-size: 15px; }
}
/* Page styles set svg { display:block }; arrows stay in the line. */
.qs-close svg, .qs svg.inline { display: inline-block; }
.qs-close-ref a { white-space: normal; }
.qs-close-ref a svg { margin-left: 4px; }
.qs-close-cta { white-space: nowrap; }
@media (max-width: 700px) { .qs-close-cta { padding: 16px 18px; font-size: 16px; } }
