/* 17 · Footer (Export s16.png, 1440 × 1003). Maße aus dem Export (2x → /2):
   Headline-Zeilenbox ab y 84, CTA-Spalte rechts ab y 80; Marke + vier Spalten ab y 328 (Spalten x 609 / 819 / 1029 /
   1239, Raster 210); Trennlinie y 535 (white-a8); Fußleiste y 559–596; Wortbild = Logo ×9 (1332 × 330) ab y 709,
   unten von der Fläche abgeschnitten. */
.s17 {
  position: relative;
  overflow: hidden;
  padding-top: 84px;
  border-radius: 48px 48px 0 0;
  background: var(--color-black);
  color: var(--text-on-dark);
}
.s17__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.s17 a:focus-visible { outline-color: var(--color-primary-300); }

/* ---------- Kopf: Headline + CTAs ---------- */
.s17__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.s17__title { color: var(--text-on-dark); }
.s17__hl { font-style: normal; color: var(--color-primary-300); }

.s17__cta { flex: none; display: flex; flex-direction: column; align-items: flex-end; margin-top: -3px; }
/* .s17__demo = Button primary · dark · lg, mobil md (Lime, css/components/button.css) */
.s17__call {
  display: inline-flex; align-items: center; gap: 7px;
  height: 47px; margin-top: 14px; padding: 0 23px 0 19px;
  border-radius: var(--radius-pill);
  background: var(--color-white-a8);
  color: var(--color-primary-300);
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out-cubic);
}
.s17__call:hover { background: var(--color-white-a16); }
.s17__phone { flex: none; margin-right: 5px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s17__call-num { color: var(--text-on-dark); }
.s17__or { margin-top: 15px; color: var(--color-primary-300); white-space: nowrap; }

/* ---------- Mitte: Marke + Linkspalten ---------- */
.s17__mid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 751px);
  gap: 32px;
  margin-top: 76px;
}
.s17__brand { min-width: 0; }
.s17__logo { display: block; width: 178px; margin-top: 2px; color: var(--text-on-dark); }
.s17__logo svg { width: 178px; height: 44px; fill: currentColor; }
.s17__desc { max-width: 280px; margin-top: 25px; color: var(--color-primary-200); }
.s17__badges { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.s17__badge { display: block; }
.s17__badge img { height: 40px; width: auto; }

.s17__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) max-content; }
.s17__col { min-width: 0; padding: 3px 16px 0 0; }
.s17__col:last-child { padding-right: 0; }
.s17__col-title { color: var(--color-primary-300); }
.s17__list { list-style: none; padding: 0; margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.s17__list a { color: var(--text-on-dark); transition: color 0.2s var(--ease-out-cubic); }
.s17__list a:hover { color: var(--color-primary-300); }

/* ---------- Trennlinie + Fußleiste ---------- */
.s17__rule { height: 1px; margin-top: 24px; background: var(--color-white-a8); }
html.m-einflug .s17__rule[data-m]:not(.m-done) { clip-path: inset(0 100% 0 0); }

.s17__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.s17__copy { color: var(--color-primary-200); }
.s17__lang {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--color-white-a8);
  color: var(--text-on-dark);
  transition: background-color 0.2s var(--ease-out-cubic);
}
.s17__lang:hover { background: var(--color-white-a16); }
.s17__globe, .s17__chev { flex: none; fill: none; stroke: var(--color-primary-300); stroke-linecap: round; stroke-linejoin: round; }
.s17__globe { stroke-width: 1.5; }
.s17__chev { stroke-width: 1.6; }

/* ---------- Großes Wortbild ----------
   Verlauf primary-600 (deckend ~76 %) → transparent bei 82 % der Logohöhe; die untere Hälfte liegt zusätzlich als
   weichgezeichnete Ebene darüber (wie im Export: Kante wird nach unten unscharf). */
.s17__mark {
  position: relative;
  width: min(92.5%, 1332px);
  aspect-ratio: 1332 / 294;
  margin: 113px auto 0;
  overflow: hidden;
}
.s17__mark svg { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 148 / 36.7; fill: url(#s17-fade); }
.s17__mark-sharp { -webkit-mask-image: linear-gradient(to bottom, var(--color-black) 40%, transparent 72%); mask-image: linear-gradient(to bottom, var(--color-black) 40%, transparent 72%); }
.s17__mark-soft {
  filter: blur(12px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 32%, var(--color-black) 62%);
  mask-image: linear-gradient(to bottom, transparent 32%, var(--color-black) 62%);
}
.s17__stop-top { stop-color: var(--color-primary-600); stop-opacity: 0.76; }
.s17__stop-mid { stop-color: var(--color-primary-600); stop-opacity: 0.4; }
.s17__stop-end { stop-color: var(--color-primary-600); stop-opacity: 0; }

/* ---------- 1024–1279: Headline eine Stufe kleiner (h1-extrabold), damit sie neben den CTAs zweizeilig bleibt ---------- */
@media (max-width: 1279px) {
  .s17__title { font: 800 64px/68px var(--font-sans); letter-spacing: -0.04em; }
}

/* ---------- Tablet < 1024 ---------- */
@media (max-width: 1023px) {
  .s17 { padding-top: 72px; border-radius: 40px 40px 0 0; }
  .s17__top { flex-direction: column; gap: 32px; }
  .s17__cta { align-items: flex-start; margin-top: 0; }
  .s17__mid { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 64px; }
  .s17__desc { max-width: 360px; }
  .s17__rule { margin-top: 48px; }
  .s17__mark { margin-top: 80px; }
}

/* ---------- Mobil < 768 ---------- */
@media (max-width: 767px) {
  .s17 { padding-top: 56px; border-radius: 32px 32px 0 0; }
  /* 84 → 48 (h2-extrabold), wie die Hero-Headline mobil */
  .s17__title { font: 800 48px/52px var(--font-sans); letter-spacing: -0.04em; }
  .s17__top { gap: 28px; }
  .s17__call { height: 44px; padding: 0 18px 0 14px; }
  .s17__mid { gap: 40px; margin-top: 48px; }
  .s17__badges { margin-top: 20px; gap: 12px 16px; }
  .s17__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .s17__col { padding-right: 0; }
  .s17__rule { margin-top: 40px; }
  .s17__bottom { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
  .s17__mark { width: calc(100% - 2 * var(--gutter)); margin-top: 56px; }
}

/* ---------- Schmale Telefone: 48 px bricht „Bonieren wir Ihre“ / „Let’s Ring Up Your“ auf vier bzw. drei Zeilen;
   36 px (h3-extrabold) = Mobil-Größe der Section-Headings, beide Zeilen bleiben zweizeilig ---------- */
@media (max-width: 479px) {
  .s17__title { font: 800 36px/42px var(--font-sans); letter-spacing: -0.03em; }
}

/* Preisangaben-Hinweis (Henrik 24.11.2026): Neukunden-Aktion, Aufschläge, Verweis auf Aktionsbedingungen/Preisblatt */
.s17__preishinweis { margin: 40px 0 0; max-width: 960px; color: var(--color-primary-200); }
.s17__preishinweis a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.s17__preishinweis a:hover { color: var(--color-white); }
@media (max-width: 767px) { .s17__preishinweis { margin-top: 32px; } }
