@charset "UTF-8";
/* ==========================================================================
   Buy Social – buysocial.ch
   Landingpage, statisch. Keine externen Ressourcen.

   Aufbau
   1  Fonts
   2  Design-Tokens
   3  Reset & Basis
   4  Hilfsklassen
   5  Bausteine (Buttons, Feature-Liste, CTA, SENS-Badge)
   6  Sektionen
   7  Testimonial-Slider
   8  Footer
   9  Scroll-Reveal
   10 Responsive
   ========================================================================== */


/* ==========================================================================
   1  Fonts
   ========================================================================== */

/* Jost – SIL Open Font License 1.1, siehe assets/fonts/JOST-OFL.txt */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-variable.woff2") format("woff2-variations"),
       url("../fonts/jost-variable.ttf")   format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Bonthell – Fontspring Webfont-Lizenz, siehe assets/fonts/BONTHELL-EULA.txt.
   Die Datei darf nicht verändert (und damit auch nicht gesubsettet) werden. */
@font-face {
  font-family: "Bonthell";
  src: url("../fonts/bonthell-webfont.woff2") format("woff2"),
       url("../fonts/bonthell-webfont.woff")  format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   2  Design-Tokens
   ========================================================================== */

:root {
  /* --- Farben ---------------------------------------------------------- */
  --green:  #2AEFA8;
  --teal:   #4EADC7;
  --purple: #AC48E6;

  --ink:        #000000;
  --grey:       #818180;
  --white:      #FFFFFF;

  /* Grünton für Text auf Weiss. Entspricht dem Screendesign; der Kontrast
     liegt unter WCAG AA. Für barrierefreien Text hier z. B. #0E9E6A setzen. */
  --green-text: var(--green);

  /* --- Verlaufsrampe --------------------------------------------------- */
  /* Alle Verläufe der Seite nutzen dieselbe Dreiklang-Rampe, nur in
     unterschiedlichem Winkel und mit unterschiedlichen Stops.             */
  --grad-hero:    linear-gradient(100deg, var(--green) 0%, var(--green) 26%, var(--teal) 58%, var(--purple) 100%);
  --grad-steps:   linear-gradient(172deg, var(--purple) 0%, var(--purple) 6%, var(--teal) 40%, var(--green) 66%, var(--green) 100%);
  --grad-testi:   linear-gradient(101deg, var(--green) -12%, var(--teal) 46%, var(--purple) 104%);
  --grad-footer:  linear-gradient(97deg,  var(--purple) -6%, var(--teal) 42%, var(--green) 74%, var(--green) 100%);
  --grad-ring:    linear-gradient(100deg, var(--green) 0%, var(--teal) 50%, var(--purple) 100%);

  /* --- Fluide Skala ---------------------------------------------------- */
  /* --t läuft von 0px (Viewport 375) bis 1px (Viewport 1440) und dient als
     Interpolationsfaktor: calc(min + delta * var(--t)).                    */
  --t: clamp(0px, calc((100vw - 375px) / 1065), 1px);

  --gutter:    calc(20px + 50   * var(--t));   /* 20 → 70   */
  --container: 1300px;

  /* --- Typografie ------------------------------------------------------ */
  --fs-logo:       calc(52px + 46   * var(--t));   /* 52 → 98   Bonthell */
  --fs-h1:         calc(30px + 18   * var(--t));   /* 30 → 48   */
  --fs-h2:         calc(32px + 24   * var(--t));   /* 32 → 56   */
  --fs-lead:       calc(19px + 17   * var(--t));   /* 19 → 36   */
  --fs-body:       calc(17px + 15   * var(--t));   /* 17 → 32   */
  --fs-card-title: calc(21px + 13.7 * var(--t));   /* 21 → 34.7 */
  --fs-kicker:     calc(14px + 9.5  * var(--t));   /* 14 → 23.5 */

  --lh-body: 1.375;   /* 32 → 44 */
  --lh-lead: 1.28;    /* 36 → 46 */

  /* --- Masse ----------------------------------------------------------- */
  --radius-card:   calc(16px + 8  * var(--t));     /* 16 → 24 */
  --icon-size:     calc(34px + 10 * var(--t));     /* 34 → 44 */
  --num-size:      calc(44px + 16 * var(--t));     /* 44 → 60 */
  --badge-size:    calc(150px + 72 * var(--t));    /* 150 → 222 */
  --btn-height:    calc(48px + 16 * var(--t));     /* 48 → 64 */
  --col-gap:       calc(28px + 34 * var(--t));     /* 28 → 62 */
  --row-gap:       calc(24px + 12 * var(--t));     /* 24 → 36 */

  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* ==========================================================================
   3  Reset & Basis
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}


/* ==========================================================================
   4  Hilfsklassen
   ========================================================================== */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Umbruch, der nur im breiten Layout gilt. */
@media (max-width: 900px) { .br-wide { display: none; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 100;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
  border-radius: 0 0 12px 12px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* Pinselschrift-Headlines ------------------------------------------------- */
.script {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.55;      /* Bonthell überragt die Zeilenbox deutlich */
  letter-spacing: 0;
}
.script--white  { color: var(--white); }
.script--purple { color: var(--purple); }
.script--green  { color: var(--green-text); }
.script--black  { color: var(--ink); }


/* ==========================================================================
   5  Bausteine
   ========================================================================== */

/* --- Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: var(--white);

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: calc(8px + 6 * var(--t));
  min-height: var(--btn-height);
  padding-inline: calc(20px + 12 * var(--t));
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease);
  will-change: transform;
}

/* Der Hover-Effekt: eine Füllung wächst aus der linken Kante nach rechts,
   der Button hebt sich leicht an und bekommt einen weichen Schatten. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover-bg, rgba(0, 0, 0, .28));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); }
/*
.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
}
*/
.btn:active { transform: translateY(-1px); }

.btn > span { position: relative; z-index: 1; }
.btn__dot {
  display: inline-block;
  width: .41em;
  height: .41em;
  margin-inline: 0;
  border-radius: 50%;
  background: currentColor;
  vertical-align: .17em;
}

.btn--purple { --btn-bg: var(--purple); --btn-hover-bg: linear-gradient(100deg, #8B2FC6, var(--purple)); }
.btn--green  { --btn-bg: var(--green);  --btn-hover-bg: linear-gradient(100deg, #0FD68C, var(--green)); }
.btn--white  { --btn-bg: var(--white);  --btn-fg: var(--green); --btn-hover-bg: #E9FFF5; }

/* Button mit Icon-Bubble (Kreis links) */
.btn--icon { padding-left: calc(6px + 2 * var(--t)); }

.btn__bubble {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: calc(36px + 10 * var(--t));
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--btn-fg);
  color: var(--btn-bg);
  transition: transform .45s var(--ease);
}
.btn__bubble svg {
  width: 60%; height: 60%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease);
}
.btn:hover .btn__bubble svg,
.btn:focus-visible .btn__bubble svg { transform: translate(2px, 2px) rotate(-45deg); }

.btn--white .btn__bubble { background: var(--green); color: var(--white); }


/* --- Feature-Liste (Icon + Text, zweispaltig) ---------------------------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--row-gap);
}

.feature {
  display: grid;
  grid-template-columns: var(--icon-size) minmax(0, 1fr);
  column-gap: calc(10px + 4 * var(--t));
  align-items: start;
  /* Reserve rechts – im Screendesign bricht der Text früher um als die Spalte. */
  padding-right: calc(4px + 31 * var(--t));
}

.feature__icon {
  display: grid;
  place-items: center;
  width: var(--icon-size);
  height: calc(var(--fs-body) * var(--lh-body));
  min-height: var(--icon-size);
  border-radius: 50%;
  background: var(--feature-bg);
  color: var(--feature-fg);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature__icon svg {
  width: 58%; height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/*
.feature:hover .feature__icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4);
}
  */

.feature-list--purple   { --feature-bg: var(--purple); --feature-fg: var(--white); color: var(--purple); }
.feature-list--onpurple { --feature-bg: var(--white);  --feature-fg: var(--purple); color: var(--white); }
.feature-list--green    { --feature-bg: var(--green);  --feature-fg: var(--white); color: var(--green-text); }


/* --- CTA-Karte ---------------------------------------------------------- */
.cta {
  border-radius: var(--radius-card);
  padding: calc(22px + 13 * var(--t)) calc(24px + 32 * var(--t)) calc(22px + 11 * var(--t));
}
.cta__title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1.2;
}
.cta__text  { margin-top: calc(9px + 8 * var(--t)); }
.cta .btn   { margin-top: calc(14px + 11 * var(--t)); }

.cta--light { background: var(--white); color: var(--purple); box-shadow: 0px 0px 50px 20px rgba(0, 0, 0, .1); }
.cta--green { background: var(--green); color: var(--white); box-shadow: 0px 0px 50px 20px rgba(0, 0, 0, .1); }


/* --- SENS-Badge --------------------------------------------------------- */
.sens-badge {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: calc(4px + 7 * var(--t));
  width: var(--badge-size);
  height: var(--badge-size);
  padding: 8%;
  border: 2px solid transparent;
  border-radius: 50%;
  /* Weisse Fläche + Verlaufsrand in einem: der Verlauf liegt in der border-box,
     das Weiss in der padding-box. */
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    var(--grad-ring) border-box;
  text-align: center;
}

/* Reihe, die die Badge horizontal am Container ausrichtet. */
.badge-row {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}
.badge-row .wrap {
  display: flex;
  justify-content: flex-end;
}
.sens-badge__kicker {
  color: var(--grey);
  font-size: var(--fs-kicker);
  line-height: 1.25;
  letter-spacing: .01em;
  white-space: nowrap;
}
.sens-badge__logo { width: calc(var(--badge-size) * .667); height: auto; }


/* ==========================================================================
   6  Sektionen
   ========================================================================== */

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  padding-block: calc(52px + 65 * var(--t)) calc(52px + 78 * var(--t));
  text-align: center;
}

.hero__logo {
  position: relative;
  font-family: "Bonthell", "Brush Script MT", cursive;
  font-size: var(--fs-logo);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: calc(10px + 90 * var(--t));
}
.hero__logo-text { position: relative; z-index: 1; }

/* --- Hero-Animation ------------------------------------------------------
   Nachbau der GIF-Animation aus dem Screendesign. Das SVG liegt hinter dem
   Schriftzug und ist in em bemessen, damit es mit der Schriftgrösse skaliert.
   1 Einheit des Originalcanvas (1920 × 1080) = 5.18/1716 em, weil der
   Schriftzug dort 1716 Einheiten breit ist und Bonthell bei font-size 1em
   5.18 em breit setzt.                                                      */
.hero__art {
  position: absolute;
  z-index: 0;
  top: var(--art-top, -0.5298em);
  left: 50%;
  width: 5.7656em;    /* 1920 Einheiten */
  height: 3.2431em;   /* 1080 Einheiten */
  margin-left: var(--art-shift, 0.046em);
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
  fill: var(--white);
}

.ha-hand {
  transform-box: view-box;
  transform-origin: 1003px 422px;   /* Schwerpunkt der Hand */
}
/* Hand 2 ist gespiegelt und vorgedreht – ihr Schwerpunkt liegt woanders,
   sonst würde die Drehung sie zusätzlich verschieben. */
.ha-hand--b { transform-origin: 878px 429px; }

/* Ohne JS bleibt nur der Kreis stehen – der Endzustand der Animation. */
.ha-hands { display: none; }

.js .ha-hands { display: block; }
.js .ha-hand,
.js .ha-blob { opacity: 0; }

/* Phase A – erste Hand steigt von rechts unten auf.
   Weg und Deckkraft laufen als zwei Animationen, weil sie im Original
   unterschiedliche Zeitverläufe haben: der Weg weich ein- und ausschwingend,
   die Deckkraft praktisch gleichmässig. */
.js .hero__art.is-playing .ha-hand--a {
  animation: ha-move-a .64s cubic-bezier(.42, 0, .58, 1) 1.15s both,
             ha-fade   .64s linear                       1.15s both;
}
/* Phase B – zweite Hand steigt von links unten auf */
.js .hero__art.is-playing .ha-hand--b {
  animation: ha-move-b .72s cubic-bezier(.42, 0, .58, 1) 1.91s both,
             ha-fade   .72s linear                       1.91s both;
}

/* Keine Zwischen-Keyframes: der Browser wendet die Zeitfunktion sonst je
   Abschnitt an und der Weg stimmt nicht mehr mit dem Original überein. */
@keyframes ha-move-a {
  from { transform: translate(126px, 336px) rotate(-17deg); }
  to   { transform: translate(0, 0) rotate(0deg); }
}
@keyframes ha-move-b {
  from { transform: translate(-190px, 332px); }
  to   { transform: translate(0, 0); }
}
@keyframes ha-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Phase C – beide Hände verschmelzen zum Kreis. Die Form selbst wird in
   main.js Punkt für Punkt interpoliert; hier nur die Sichtbarkeit. */
.js .hero__art.is-morphing .ha-hands { display: none; }
.js .hero__art.is-morphing .ha-blob  { opacity: 1; }

/* Bewegung reduziert oder Animation fertig: nur der Kreis */
.js .hero__art.is-done .ha-hands { display: none; }
.js .hero__art.is-done .ha-blob  { opacity: 1; }

.hero__claim {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.2;
}

.hero__lead {
  max-width: calc(720px + 460 * var(--t));
  margin: calc(18px + 30 * var(--t)) auto 0;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.hero__badge-row { bottom: 0; }
.hero__badge {
  margin-right: calc(0px + 32 * var(--t));
  margin-bottom: calc(var(--badge-size) * -0.4);
}


/* --- Intro -------------------------------------------------------------- */
.intro { padding-block: calc(48px + 102 * var(--t)) calc(46px + 97 * var(--t)); }

.intro__text { max-width: 1240px; }

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: calc(12px + 35 * var(--t));
  margin-top: calc(24px + 36 * var(--t));
}


/* --- Steps (Warum Buy Social?) ------------------------------------------ */
.steps {
  background: var(--grad-steps);
  color: var(--white);
  padding-block: calc(44px + 42 * var(--t)) calc(54px + 57 * var(--t));
}
.steps__lead { margin-top: calc(14px + 47 * var(--t)); }

.steps__list {
  display: grid;
  gap: calc(18px + 16 * var(--t));
  margin-top: calc(32px + 29 * var(--t));
}

.step {
  display: grid;
  grid-template-columns: var(--num-size) minmax(0, 1fr);
  column-gap: calc(26px + 9 * var(--t));
  align-items: center;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: calc(20px + 8 * var(--t)) calc(22px + 26 * var(--t)) calc(23px + 15 * var(--t)) calc(20px + 6 * var(--t));
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0px 0px 50px 20px rgba(0, 0, 0, .1);
}
/*
.step:hover {
  transform: translateY(-4px);
 box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .55);
}
*/
.step__num {
  display: grid;
  place-items: center;
  width: var(--num-size);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-ring);
  color: var(--white);
  font-size: calc(20px + 12 * var(--t));
  font-weight: 500;
  line-height: 1;
}

.step__title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1.2;
}

.step__text {
  grid-column: 2;
  max-width: 1045px;      /* damit die Zeilenumbrüche dem Screendesign folgen */
  margin-top: calc(2px + 3 * var(--t));
}


/* --- Buyers (Mit Beschaffung Wirkung erzielen) --------------------------- */
.buyers {
  color: var(--purple);
  padding-block: calc(44px + 47 * var(--t)) calc(50px + 71 * var(--t));
}
.buyers__lead    { margin-top: calc(14px + 38 * var(--t)); }
.buyers .feature-list {
  margin-top: calc(30px + 51 * var(--t));
  --row-gap: calc(28px + 18 * var(--t));
}


/* --- Fields (Mögliche Beschaffungsfelder) -------------------------------- */
.fields {
  background: var(--purple);
  color: var(--white);
  padding-block: calc(44px + 46 * var(--t)) calc(52px + 75 * var(--t));
}
.fields__title {
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.15;
}
.fields .feature-list { margin-top: calc(42px + 72 * var(--t)); }
.fields .cta          { margin-top: calc(28px + 45 * var(--t)); }


/* --- Suppliers (Neue Geschäftskund:innen erreichen) ---------------------- */
.suppliers {
  color: var(--green-text);
  padding-block: calc(50px + 95 * var(--t)) calc(80px + 141 * var(--t));
}
.suppliers__lead      { margin-top: calc(10px + 23 * var(--t)); }
.suppliers .feature-list {
  margin-top: calc(30px + 48 * var(--t));
  --row-gap: calc(28px + 18 * var(--t));
}
.suppliers .cta       { margin-top: calc(40px + 73 * var(--t)); }


/* --- About -------------------------------------------------------------- */
.about { padding-block: calc(49px + 84 * var(--t)) calc(55px + 109 * var(--t)); }
.about__text          { margin-top: calc(28px + 58 * var(--t)); }
.about__text + .about__text { margin-top: calc(20px + 25 * var(--t)); }


/* ==========================================================================
   7  Testimonial-Slider
   ========================================================================== */

.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--grad-testi);
  color: var(--white);
  padding-block: calc(30px + 40 * var(--t)) calc(4px + 7 * var(--t));
}

.testimonials__inner { position: relative; }

/* Der grosse weisse Kreis hinter dem Zitat (Screendesign: Ø 774 auf 1300
   Containerbreite, 101 px über die linke Containerkante hinaus). */
.testimonials__circle {
  position: absolute;
  z-index: 0;
  width: 59.5%;
  aspect-ratio: 1;
  left: -7.8%;
  top: calc(6px + 19 * var(--t));
  border-radius: 50%;
  background: var(--white);
  pointer-events: none;
}

.slider { position: relative; z-index: 1; }

.slider__viewport { overflow: hidden; }

.slider__track {
  display: flex;
  transition: transform .7s var(--ease);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  min-width: 0;
  opacity: .0;
  transform: scale(.97);
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.slide.is-active { opacity: 1; transform: none; }

.slide__figure {
  display: grid;
  /* 589 / 258 / Rest auf 1300 Containerbreite */
  grid-template-columns: minmax(0, 45.3%) minmax(0, 19.9%) minmax(0, 1fr);
  grid-template-areas: "quote portrait person";
  column-gap: 0;
  align-items: start;
  padding-top: calc(98px + 132 * var(--t));    /* → 230 */
  padding-bottom: calc(6px + 5 * var(--t));
}

.slide__mark {
  position: absolute;
  left: -.125em;      /* Vorbreite des Glyphs ausgleichen */
  top: -.125em;
  font-family: "Bonthell", "Brush Script MT", cursive;
  font-size: calc(96px + 104 * var(--t));   /* 96 → 200 */
  line-height: 1;
  color: var(--purple);
}

.slide__quote {
  grid-area: quote;
  position: relative;
  color: var(--purple);
}

.slide__portrait {
  grid-area: portrait;
  width: 100%;
  max-width: calc(150px + 108 * var(--t));  /* 150 → 258 */
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-ring);
  padding: calc(2px + 2 * var(--t));
  margin-top: calc(32px + 68 * var(--t));   /* → 100 */
}
.slide__portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  /* TODO: Foto liegt nur in 200 × 200 px vor – hochauflösende Version ersetzen. */
}

.slide__person {
  grid-area: person;
  margin-top: calc(58px + 107 * var(--t));  /* → 165 */
  padding-left: calc(7px + 16 * var(--t));
}
.slide__name {
  display: block;
  font-weight: 600;
}
.slide__role { display: block; }

/* Navigation ------------------------------------------------------------- */
.slider__nav {
  position: absolute;
  top: 0;
  right: calc(6px + 18 * var(--t));
  z-index: 3;
  display: flex;
  gap: calc(20px + 32 * var(--t));
}

.slider__btn {
  display: grid;
  place-items: center;
  width: calc(48px + 32 * var(--t));       /* 48 → 80 */
  padding: 0;
  aspect-ratio: 80 / 44;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 8px;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.slider__btn svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slider__btn:hover  { transform: scale(1.12); }
.slider__btn:active { transform: scale(.96); }
[data-slider-prev]:hover { transform: translateX(-4px) scale(1.08); }
[data-slider-next]:hover { transform: translateX(4px)  scale(1.08); }

.slider__dots {
  position: absolute;
  top: calc(52px + 34 * var(--t));
  right: calc(6px + 18 * var(--t));
  z-index: 3;
  display: flex;
  gap: 10px;
}
.slider__dot {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.slider__dot:hover { background: rgba(255, 255, 255, .8); }
.slider__dot[aria-current="true"] {
  background: var(--white);
  transform: scale(1.35);
}


/* ==========================================================================
   8  Footer
   ========================================================================== */

.footer {
  position: relative;
  background: var(--grad-footer);
  color: var(--white);
  padding-block: calc(30px + 30 * var(--t));
}
.footer__inner {
  display: flex;
  align-items: center;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .4em;
}
.footer__links a {
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
  transition: opacity .25s var(--ease), text-decoration-color .25s var(--ease);
}
.footer__links a:hover { opacity: .72; }

.footer__badge-row { top: 0; }
.footer__badge { margin-top: calc(4px - var(--badge-size) / 2); }


/* ==========================================================================
   9  Scroll-Reveal
   ========================================================================== */

[data-anim] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-anim="pop"]  { transform: scale(.9); }
[data-anim="logo"] { transform: scale(1.035); filter: blur(7px); }

[data-anim].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Hero: Einblenden direkt beim Laden, leicht gestaffelt. */
.js .hero [data-anim]                 { transition-delay: .05s; }
.js .hero [data-anim="logo"]          { transition-duration: 1.15s; }
.js .hero .hero__claim                { transition-delay: .45s; }
.js .hero .hero__lead                 { transition-delay: .58s; }
.js .hero .hero__badge                { transition-delay: .72s; }

/* Ohne JS bleibt alles sichtbar, und der Slider zeigt statisch das erste
   Testimonial – ohne Bedienelemente, die ohne JS nichts tun würden. */
html:not(.js) [data-anim] { opacity: 1; transform: none; filter: none; }
html:not(.js) .slide { opacity: 1; transform: none; }
html:not(.js) .slider__nav,
html:not(.js) .slider__dots { display: none; }


/* ==========================================================================
   10  Responsive
   ========================================================================== */

/* Ab hier kippt das Testimonial vom Kreis- auf ein Kartenlayout. */
@media (max-width: 1024px) {
  .testimonials__circle { display: none; }

  .slide__figure {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "quote    quote"
      "portrait person";
    column-gap: 20px;
    row-gap: 0;
    align-items: center;
    padding: clamp(28px, 5vw, 44px);
    padding-top: clamp(46px, 8vw, 80px);
    background: var(--white);
    border-radius: var(--radius-card);
  }
  .slide__mark { font-size: clamp(66px, 12vw, 116px); }
  .slide__quote   { margin-bottom: clamp(22px, 3.5vw, 34px); }
  .slide__portrait {
    width: clamp(84px, 16vw, 130px);
    max-width: none;
    margin-top: 0;
    align-self: center;
  }
  .slide__person  { color: var(--purple); margin-top: 0; padding-left: 4px; align-self: center; }

  .slider { padding-bottom: 62px; }
  .slider__nav {
    top: auto;
    bottom: 0;
    right: 0;
  }
  .slider__dots {
    top: auto;
    bottom: 16px;
    right: auto;
    left: 2px;
  }
}

@media (max-width: 900px) {
  .feature-list { grid-template-columns: minmax(0, 1fr); }

  /* Ab hier stehen die SENS-Badges im Textfluss und zentriert – absolut
     positioniert kämen sie dem Fliesstext zu nahe. */
  .badge-row { position: static; }
  .badge-row .wrap { justify-content: center; }

  .hero__badge {
    margin: calc(20px + 14 * var(--t)) auto calc(var(--badge-size) * -0.34);
  }
  .footer__inner { display: block; }
  .footer__badge { margin: 26px auto 0; }
}

@media (max-width: 760px) {
  :root { --badge-size: 132px; }

  .hero { text-align: left; }
  .hero__lead { margin-inline: 0; }

  .intro__actions { flex-direction: column; align-items: stretch; }
  .intro__actions .btn { justify-content: center; text-align: center; }

  .step {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }
  .step__num { grid-column: 1; }
  .step__title { grid-column: 1; }
  .step__text { grid-column: 1; margin-top: 0; }

  .footer__links { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .btn { width: 100%; justify-content: center; }
  .cta .btn { width: auto; }
  .slider__nav { gap: 14px; }
}


/* --- Bewegung reduzieren ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* Hero-Animation: direkt der Endzustand */
  .ha-hands { display: none !important; }
  .js .ha-blob { opacity: 1 !important; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-anim] { opacity: 1; transform: none; filter: none; }
}


/* --- Druck --------------------------------------------------------------- */
@media print {
  .slider__nav, .slider__dots, .skip-link { display: none; }
  .slider__track { display: block; }
  .slide { opacity: 1; transform: none; }
  body { color: #000; }
}
