/* ==========================================================================
   Nils Krüger – Coaching und Beratung
   Gestaltung nach Figma (Desktop 1512 px, Mobile 402 px).
   Grössen skalieren fliessend zwischen beiden Entwürfen (clamp).
   ========================================================================== */

/* Schriften ---------------------------------------------------------------- */
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Variablen ------------------------------------------------------------------ */
:root {
  --blue: #000DBC;
  --rose: #ffebe9;
  --rose-hover: #fee5e3;
  --cream: #FFFCF4;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Schriftgrössen: fließend von Mobile (402 px) bis Desktop (1512 px),
     auf ganze Pixel gerundet */
  --fs-sans-title: round(clamp(1.4375rem, 1.3017rem + 0.5405vw, 1.8125rem), 1px);
  /* 23 → 29  Inter: Section-Titel, Menü */
  --fs-sans: round(clamp(0.9375rem, 0.9149rem + 0.0901vw, 1rem), 1px);
  /* 15 → 16  Inter: Text, Buttons */
  --fs-serif-title: round(clamp(1.375rem, 1.1034rem + 1.0811vw, 2.125rem), 1px);
  /* 22 → 34  Baskerville: Titel, Zitate */
  --fs-serif-mid: round(clamp(1.25rem, 1.1595rem + 0.3604vw, 1.5rem), 1px);
  /* 20 → 24  Baskerville: FAQ, Testimonials */
  --fs-name: 1.125rem;
  /* 18       Inter: „Nils Krüger“ (Sondergröße) */
  --fs-serif: round(clamp(1.0625rem, 1.0172rem + 0.1802vw, 1.1875rem), 1px);
  /* 17 → 19  Baskerville: Fließtext */

  /* Bewegung: sehr weich, zum Schluss stark verlangsamt */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --lh-body: 1.36;
  --gutter: 28px;
  /* linker Rand der Textspalte */
  --inset: 8px;
  /* Rand der Kacheln, FAQ, Testimonials */
  --gap: 5px;
  /* Abstand zwischen Kacheln */
  --measure: 49.5rem;
  /* max. Breite der Textspalte (792 px) */
  --section-y: clamp(3.5rem, 2rem + 11.5vw, 13rem);
  --actions-size: 36px;
  --bar-h: calc(var(--actions-size) + 24px);
  /* Höhe der mobilen Leiste */
}

@media (min-width: 700px) {
  :root {
    --gutter: min(16.27vw, 20rem);
    --inset: clamp(8px, 1.52vw, 23px);
  }
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--blue);
  font-family: var(--serif);
  font-size: var(--fs-serif);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
  margin: 0;
}

::selection {
  background: var(--blue);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .5rem 1rem;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Layout --------------------------------------------------------------------- */
.container {
  padding-inline: var(--gutter);
}

.container>* {
  max-width: var(--measure);
}

.section {
  padding-block: var(--section-y);
  background: var(--cream);
}

/* Inhalte schieben sich über die stehenbleibenden Bilder */
main>section {
  position: relative;
  z-index: 1;
  scroll-margin-top: var(--bar-h);
}

main>.fullimage,
main>.highlight {
  position: sticky;
  top: 0;
  z-index: 0;
}

@media (min-width: 700px) {
  main>section {
    scroll-margin-top: 0;
  }
}

.section--rose {
  background: var(--rose);
}

.heading {
  font-family: var(--sans);
  font-size: var(--fs-sans-title);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: clamp(1rem, .8rem + 1vw, 1.75rem);
}

/* Fliesstext */
.prose>*+* {
  margin-top: calc(var(--lh-body) * 1em);
}

.prose a {
  font-style: italic;
}

/* Links mit Hover-Unterstreichung: Die Linie liegt unsichtbar etwas tiefer
   und gleitet beim Hovern weich von unten an ihren Platz, während sie einblendet */
.prose a,
.site-menu__list a,
.site-footer a {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  text-underline-offset: .5em;
  transition: text-decoration-color .7s var(--ease), text-underline-offset .7s var(--ease);
}

.prose a:hover,
.prose a:focus-visible,
.site-menu__list a:hover,
.site-menu__list a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration-color: currentColor;
  text-underline-offset: .15em;
}

.prose ul {
  padding-left: 1.2em;
}

.prose strong {
  font-weight: 700;
}

/* Buttons -------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .55em 1.1em .55em .9em;
  border-radius: 999px;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid var(--blue);
}

.button .icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.button--small {
  font-size: var(--fs-sans);
  height: var(--actions-size);
  padding: 0 1em 0 .85em;
}

.prose+.button,
.prose+.contact__buttons {
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

/* Fixierte Buttons und Menü ---------------------------------------------------- */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--bar-h);
  padding-inline: var(--gutter) 16px;
}

.site-bar__name {
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-name);
}

.site-bar__name a {
  text-decoration: none;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 700px) {
  .site-bar {
    display: contents;
  }

  .site-bar__name {
    display: none;
  }

  .site-actions {
    position: fixed;
    z-index: 40;
    top: 32px;
    right: 32px;
  }
}

.menu-toggle,
.menu-close {
  display: inline-grid;
  place-items: center;
  width: var(--actions-size);
  height: var(--actions-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue);
  cursor: pointer;
}

.menu-toggle .icon,
.menu-close .icon {
  width: 100%;
  height: 100%;
}

/* Einheitlicher Hover für alle Buttons: blaue Kontur (so stark wie der Kreis
   des Menübuttons) bleibt, die Fläche wechselt weich zu --rose-hover */
.button,
.menu-toggle,
.menu-close {
  transition: background-color .8s var(--ease), color .8s var(--ease), border-color .8s var(--ease);
}

/* Rand der Fläche liegt unter dem gezeichneten Kreis, damit kein heller Saum bleibt */
.menu-toggle,
.menu-close {
  box-shadow: inset 0 0 0 1px currentColor;
}

.button:hover,
.menu-toggle:hover,
.menu-close:hover {
  background-color: var(--rose-hover);
  color: var(--blue);
  border-color: var(--blue);
}

.site-menu {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: var(--blue);
  color: var(--cream);
  overflow-y: auto;
  padding: clamp(5rem, 22vh, 10rem) 25% 6rem 25%;
}

.site-menu[hidden] {
  display: none;
}

.site-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-size: var(--fs-sans-title);
  line-height: 1.2;
}

.site-menu__list li+li {
  margin-top: .55em;
}

.site-menu :focus-visible {
  outline-color: var(--cream);
}

.menu-close {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  background: transparent;
  color: var(--cream);
}

@media (min-width: 700px) {
  .site-menu {
    left: auto;
    width: min(36rem, 100%);
    padding: 10rem 4rem 4rem clamp(4rem, 7vw, 7.5rem);
  }

  .menu-close {
    top: 32px;
    right: 32px;
    left: auto;
    bottom: auto;
    transform: none;
  }
}

body.menu-open {
  overflow: hidden;
}

/* Hero ------------------------------------------------------------------------ */
/* Die Section selbst erzeugt keine Box: So bleibt das Bild bis zum Ende der Seite
   stehen, während das Feld mit dem Claim und alle weiteren Inhalte darüberfahren. */
.hero {
  --hero-h: max(calc(100vh - var(--bar-h)), 32rem);
  display: contents;
}

@supports (height: 100svh) {
  .hero {
    --hero-h: max(calc(100svh - var(--bar-h)), 32rem);
  }
}

main>.hero>.hero__media {
  position: sticky;
  top: 0;
  z-index: 0;
  height: calc(var(--hero-h) * .575);
  overflow: hidden;
  background: var(--rose);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main>.hero>.hero__content {
  position: relative;
  z-index: 1;
  height: calc(var(--hero-h) * .425);
  padding: 26px var(--gutter) 0;
  background: var(--cream);
  /* Mobile: Fläche läuft unter der Leiste weiter, bis diese oben ansteht */
  box-shadow: 0 var(--bar-h) 0 var(--cream);
}

.hero__claim {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-serif-title);
  line-height: 1.2;
  max-width: 18em;
}

.hero__break {
  display: none;
}

@media (min-width: 700px) {
  .hero__break {
    display: inline;
  }
}

.hero__name {
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
  line-height: var(--actions-size);
}

.hero__name--desktop {
  display: none;
}

@media (min-width: 700px) {
  .hero {
    --hero-h: max(100vh, 34rem);
  }

  @supports (height: 100svh) {
    .hero {
      --hero-h: max(100svh, 34rem);
    }
  }

  main>.hero>.hero__media {
    width: 50%;
    height: var(--hero-h);
  }

  main>.hero>.hero__content {
    display: flex;
    align-items: center;
    height: var(--hero-h);
    margin-top: calc(var(--hero-h) * -1);
    margin-left: 50%;
    padding: 0 2.2vw;
    box-shadow: none;
  }

  /* Claim: Umbruch nach „für“, Schriftgröße so berechnet, dass
     „Menschen und Teams im politischen Betrieb.“ die Spalte (45.6vw) genau füllt */
  .hero__claim {
    max-width: none;
    font-size: round(down, 1.96vw, 1px);
    white-space: nowrap;
  }

  /* Name liegt zuerst weiß auf dem Porträt, scrollt dann hoch und bleibt
     auf Höhe der Buttons stehen. Dort wird er blau (Klasse per JS). */
  main>.hero>.hero__name--desktop {
    display: block;
    position: sticky;
    top: 32px;
    z-index: 40;
    width: max-content;
    height: 1px;
    margin: calc(var(--hero-h) * -.53) 0 calc(var(--hero-h) * .53 - 1px) 32px;
    color: #fff;
    font-size: var(--fs-name);
    line-height: var(--actions-size);
    white-space: nowrap;
  }

  main>.hero>.hero__name--desktop.is-stuck {
    color: var(--blue);
  }
}

/* Hero-Einstieg beim Laden ----------------------------------------------------------
   1. Das Bild blendet als Erstes ein (früh sichtbar, gut für die Ladezeit).
   2. Danach kommen Name und Claim gestaffelt leicht von unten,
   3. zuletzt die Navigation von oben. Nur „backwards“: Nach dem Ende
      gelten wieder die normalen Stile. */
/* Das Bild selbst ist sofort da (zählt so für Google als früh geladen),
   eine cremefarbene Fläche darüber blendet aus */
.hero-intro main>.hero>.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  opacity: 0;
  pointer-events: none;
  animation: intro-cover 1.6s var(--ease) backwards;
}

.hero-intro .site-bar__name,
.hero-intro main>.hero>.hero__name--desktop {
  animation: intro-fade 1.8s var(--ease) .6s backwards;
}

.hero-intro .hero__claim {
  animation: intro-fade 1.8s var(--ease) .9s backwards;
}

.hero-intro .site-actions {
  animation: intro-from-top 1.8s var(--ease) 1.2s backwards;
}

/* Mobile steht die Navigation unten in der Leiste: dort nur ein kurzer Weg von oben */
@media (max-width: 699px) {
  .hero-intro .site-actions {
    animation-name: intro-from-top-short;
  }
}

@keyframes intro-fade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

@keyframes intro-cover {
  from {
    opacity: 1;
  }
}

@keyframes intro-from-top {
  from {
    transform: translateY(calc(-100% - 40px));
  }
}

@keyframes intro-from-top-short {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
}

/* Einleitung -------------------------------------------------------------------- */
.intro {
  padding-top: clamp(3.5rem, 2rem + 6vw, 8.3rem);
  padding-bottom: clamp(4rem, 2rem + 9vw, 11rem);
}

.intro__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-serif-title);
  line-height: 1.25;
  margin-bottom: clamp(1rem, .8rem + 1vw, 1.5rem);
}

/* Hervorgehobener Text ------------------------------------------------------------- */
.highlight {
  display: grid;
  place-items: center;
  min-height: 39.4rem;
  /* 630 px */
  padding: 4rem var(--gutter);
  text-align: center;
}

.highlight--color {
  background: var(--rose);
}

.highlight--white {
  background: var(--cream);
}

.highlight__text {
  max-width: 22em;
  font-size: var(--fs-serif-title);
  line-height: 1.33;
}

/* Bilder ---------------------------------------------------------- */
picture {
  display: contents;
}

/* Seitenfüllendes Bild ----------------------------------------------------------- */
.fullimage {
  background: var(--rose);
}

.fullimage__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (min-width: 700px) {
  .fullimage__image {
    aspect-ratio: auto;
    height: 100vh;
    height: 100svh;
    min-height: 30rem;
  }
}

/* Angebot und Text --------------------------------------------------------------- */
.offer .button,
.text-section .button {
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

/* Angebots-Kacheln: Klick öffnet die Kachel bildschirmfüllend (Dialog)
   Maße aus Figma: Mobile 394 × 366, Desktop 730 × 470, Abstand 5 px */
.offer__tiles {
  display: grid;
  gap: var(--gap);
  margin: clamp(3rem, 2rem + 4vw, 6rem) var(--inset) 0;
  padding: 0;
  list-style: none;
}

.offer-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 394 / 366;
  padding: 1.5rem clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--rose);
  text-align: center;
}

.offer-tile__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-serif-title);
  line-height: 1.2;
  max-width: 12em;
}

.offer-tile__lead {
  max-width: 22em;
  margin-top: 1.4em;
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
  line-height: 1.35;
}

.offer-tile>.icon,
.offer-tile__open {
  margin-top: 2.25rem;
}

.offer-tile .icon {
  display: block;
  width: 34px;
  height: auto;
  stroke-width: 1.2;
}

.offer-tile__open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

/* ganze Kachel klickbar */
.offer-tile__open::after {
  content: "";
  position: absolute;
  inset: 0;
}

.offer-tile__open .icon {
  transition: transform .9s var(--ease), opacity 1.4s var(--ease);
}

/* Plus der geöffneten Kachel ist weg und blendet nach dem Schließen wieder ein */
.offer-tile.is-current .offer-tile__open .icon {
  opacity: 0;
  transition-duration: 0s;
}

.offer-tile:hover .offer-tile__open .icon {
  transform: rotate(90deg);
}

/* Geöffnete Kachel */
.offer-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--rose);
  color: var(--blue);
  overflow: auto;
  overscroll-behavior: contain;
}

.offer-dialog::backdrop {
  background: transparent;
}

.offer-dialog__inner {
  max-width: 40rem;
  margin-inline: auto;
  padding: 36px var(--gutter) 128px;
  text-align: center;
}

/* Titel und Lead bleiben sichtbar (sie gleiten per Script), nur der Langtext blendet ein */
.offer-dialog__text {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.offer-dialog.is-visible .offer-dialog__text {
  opacity: 1;
  transform: none;
  transition-duration: 1.4s;
  transition-delay: .1s;
}

.offer-dialog__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-serif-title);
  line-height: 1.2;
  max-width: 12em;
  margin-inline: auto;
}

.offer-dialog__lead {
  max-width: 22em;
  margin: 1.25rem auto 0;
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
  line-height: 1.25;
}

.offer-dialog__text {
  margin-top: 2rem;
  text-align: left;
  font-size: var(--fs-serif);
  line-height: var(--lh-body);
}

.offer-dialog__text p+p {
  margin-top: 1em;
}

.offer-dialog__close {
  position: fixed;
  left: 50%;
  bottom: 36px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: -24px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.offer-dialog.is-visible .offer-dialog__close {
  opacity: 1;
  transition-duration: 1.4s;
}

.offer-dialog__close .icon {
  width: 34px;
  height: auto;
  stroke-width: 1.2;
  transform: rotate(45deg);
}

@media (min-width: 700px) {
  .offer__tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-tile {
    aspect-ratio: 730 / 470;
  }

  .offer-tile>.icon,
  .offer-tile__open {
    margin-top: clamp(2.25rem, 1.5rem + 1.5vw, 3.25rem);
  }

  .offer-dialog__inner {
    max-width: 47rem;
    padding: clamp(6rem, 24vh, 15rem) 4rem 8rem;
  }

  /* Flattersatz wirkt sonst nach links verrutscht: leicht nach rechts versetzt */
  .offer-dialog__text {
    position: relative;
    left: 1.25em;
  }

  .offer-dialog__close {
    top: clamp(40px, 7.5vh, 72px);
    right: clamp(40px, 5.7vw, 86px);
    left: auto;
    bottom: auto;
    margin: 0;
  }
}

/* Hover: Flächen werden weich etwas dunkler */
.offer-tile,
.testimonial,
.faq__item {
  transition: background-color .9s var(--ease);
}

@media (hover: hover) {

  .offer-tile:hover,
  .testimonial:hover,
  .faq__item:hover {
    background-color: var(--rose-hover);
  }
}

/* Testimonials ------------------------------------------------------------------- */
.testimonials {
  overflow-x: clip;
}

.testimonials__stack {
  display: grid;
  gap: var(--gap);
  margin-inline: var(--inset);
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: clamp(2rem, 1.2rem + 3vw, 4.5rem) clamp(1.25rem, .8rem + 2.4vw, 3.5rem);
  background: var(--rose);
}

.testimonial__quote {
  font-size: var(--fs-serif-mid);
  line-height: 1.25;
}

.testimonial__text {
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
  line-height: 1.25;
}

.testimonial__text>*+* {
  margin-top: 1em;
}

.testimonial__customer {
  margin-top: 1.25rem;
  font-size: var(--fs-sans);
}

/* Mobile bis Tablet: Karten vertikal gestapelt, nur das Zitat ist sichtbar.
   Die Höhe der zugeklappten Karten setzt das Script. */
@media (max-width: 699.98px) {
  .testimonials__stack {
    gap: 0;
  }

  .testimonial {
    z-index: calc(var(--i) + 1);
    overflow: hidden;
    border-top: 2px solid var(--cream);
    cursor: pointer;
  }

  .testimonial+.testimonial {
    margin-top: calc(var(--overlap, 18px) * -1);
  }

  .testimonial.is-active {
    cursor: default;
  }
}

@media (min-width: 700px) {

  /* Kartenstapel (nur mit JS, sonst untereinander und komplett lesbar): spätere Karten liegen oben und nach links versetzt.
     Klickt man eine Karte, gleiten die darüberliegenden nach links (zum Teil
     aus dem Bild) und geben sie ganz frei (Klasse .is-after per Script). */
  .js .testimonials__stack {
    --w: max(35.2%, 25rem);
    /* Tablet: Karte breiter, verdeckte Streifen schmaler */
    --strip: calc((100% - var(--w)) / max(var(--n) - 1, 1));
    grid-template-columns: 1fr;
    gap: 0;
  }

  .js .testimonial {
    grid-area: 1 / 1;
    width: var(--w);
    margin-left: calc((var(--n) - 1 - var(--i)) * var(--strip));
    min-height: 38rem;
    z-index: calc(var(--i) + 1);
    border-right: 2px solid var(--cream);
    border-left: 2px solid var(--cream);
    cursor: pointer;
    transition: margin-left 1.4s var(--ease), background-color .9s var(--ease);
  }

  .js .testimonial.is-after {
    margin-left: calc((var(--n) - 1 - var(--i)) * var(--strip) - var(--w) + var(--strip));
  }

  .js .testimonial.is-active {
    cursor: default;
  }
}

/* FAQ ---------------------------------------------------------------------------- */
.faq {
  padding-bottom: clamp(2rem, 1rem + 3vw, 4.8rem);
}

.faq__list {
  display: grid;
  gap: var(--gap);
  margin-inline: var(--inset);
}

.faq__item {
  background: var(--rose);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: clamp(4.5rem, 3.5rem + 3.5vw, 7.5rem);
  padding: 1rem clamp(1.25rem, .8rem + 2.4vw, 3.5rem);
  font-size: var(--fs-serif-mid);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question .icon {
  flex: none;
  width: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  height: auto;
}

.faq__question .icon {
  transition: transform 1.1s var(--ease);
}

.faq__item.is-open .faq__question .icon {
  transform: rotate(135deg);
}

.faq__answer {
  overflow: hidden;
}

.faq__answer {
  padding: .5rem clamp(1.25rem, .8rem + 2.4vw, 3.5rem) clamp(2.5rem, 2rem + 3vw, 5rem);
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
  line-height: 1.25;
}

.faq__answer>* {
  max-width: 44rem;
}

.faq__answer>*+* {
  margin-top: 1em;
}

.faq__answer ul {
  padding-left: 1.2em;
}

.faq__answer li+li {
  margin-top: .15em;
}

@media (min-width: 700px) {
  .faq__answer {
    padding-left: calc(var(--gutter) - var(--inset));
  }
}

/* Kontakt -------------------------------------------------------------------------- */
.contact {
  padding-top: clamp(2rem, 1rem + 3vw, 4.8rem);
  padding-bottom: clamp(5rem, 3rem + 7vw, 11rem);
}

.contact__list {
  list-style: none;
  padding: 0;
}

.contact__list a {
  text-decoration: underline;
  text-underline-offset: .15em;
  text-decoration-thickness: 1px;
}

.contact__list a:hover {
  text-decoration-thickness: 2px;
}

.contact__buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}

.contact__buttons:empty {
  display: none;
}

/* Footer --------------------------------------------------------------------------- */
.site-footer {
  /* deckend und eine Spur nach oben überlappend: sonst blitzt an der Kante das
     stehenbleibende Porträt als feine Linie durch */
  position: relative;
  z-index: 1;
  background: var(--cream);
  box-shadow: 0 -2px 0 var(--cream);
  padding-bottom: 1.9rem;
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
}

.site-footer__text {
  margin-top: .5rem;
}

/* Impressum, Datenschutz ------------------------------------------------------------- */
.page {
  padding-top: clamp(6rem, 4rem + 8vw, 12rem);
}

.heading--page {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-serif-title);
  line-height: 1.2;
  letter-spacing: 0;
}

.prose--legal {
  font-size: var(--fs-sans);
  font-family: var(--sans);
  font-weight: 450;
  line-height: 1.25;
}

.prose--legal h2,
.prose--legal h3 {
  font-family: var(--sans);
  font-weight: 550;
  line-height: 1.3;
  margin-top: 2em;
}

.prose--legal h2 {
  font-size: 1.35em;
}

.prose--legal h3 {
  font-size: 1.1em;
}

.prose--legal a {
  font-style: normal;
  text-decoration-color: currentColor;
  text-underline-offset: .15em;
}

.page__back {
  margin-top: 3rem;
  font-family: var(--sans);
  font-weight: 450;
  font-size: var(--fs-sans);
}

/* Große Bildschirme ab 1440 px ----------------------------------------------------- */
@media (min-width: 1440px) {

  /* Testimonial-Karten wachsen nicht weiter (Breite bei 1440 px), die
     verdeckten Streifen werden dafür breiter */
  .js .testimonials__stack {
    --w: 491px;
  }

  /* Hero-Claim bleibt bei der Größe von 1440 px */
  .hero__claim {
    font-size: 28px;
  }

  /* Zitate dürfen breiter laufen */
  .highlight__text {
    max-width: 65vw;
  }
}

/* Ohne JavaScript: alles lesbar ----------------------------------------------------
   Langtexte der Angebote stehen direkt in der Kachel, Plus und Menübutton
   (die ohne Script nichts tun) werden ausgeblendet. */
html:not(.js) .offer-tile {
  aspect-ratio: auto;
  padding-block: 3rem;
}

html:not(.js) .offer-tile__text[hidden] {
  display: block;
  max-width: 34em;
  margin-top: 1.5rem;
  font-size: var(--fs-serif);
  line-height: var(--lh-body);
  text-align: left;
}

html:not(.js) .offer-tile__text p+p {
  margin-top: 1em;
}

html:not(.js) .offer-tile__open,
html:not(.js) .menu-toggle {
  display: none;
}

/* Der Name färbt sich nur per Script blau: ohne Script bleibt er weiß auf dem Porträt und scrollt mit */
html:not(.js) main>.hero>.hero__name--desktop {
  position: relative;
  top: 0;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}