/* ===========================================================================
   Layout - containers, sections, page-specific grids
   =========================================================================== */

.ff-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.ff-section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.ff-section--paper {
  background: var(--paper-1);
}

.ff-section--wash {
  background: var(--brand-petrol-wash);
}

.ff-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-8);
}

.ff-section__head .ff-eyebrow { display: inline-block; }

.ff-section__head h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-display-md);
  line-height: 1.15;
  color: var(--ink-1);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}

.ff-section__head p {
  color: var(--ink-2);
  font-size: var(--t-body-lg);
  line-height: 1.65;
}

/* --- Hero ------------------------------------------------------------ */

.ff-hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.ff-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .ff-hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--s-9);
  }
  /* Studio page: wider photo, narrower text column for a calmer balance */
  .ff-hero--studio .ff-hero__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--s-8);
  }
  .ff-hero--studio .ff-hero__photo .ff-photo-frame {
    aspect-ratio: 4 / 5;
  }
  .ff-hero--studio .ff-hero__lede {
    max-width: 44ch;
  }
}

.ff-hero__copy h1 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-display-lg);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  margin-bottom: var(--s-5);
}
.ff-hero__copy h1 em {
  font-style: italic;
  font-weight: 500;
}

.ff-hero__lede {
  font-size: var(--t-body-lg);
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: var(--s-6);
  max-width: 52ch;
}

.ff-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.ff-hero__photo {
  position: relative;
}
.ff-hero__photo .ff-photo-frame {
  aspect-ratio: 3 / 4;
}
.ff-hero__signature {
  position: absolute;
  bottom: -28px;
  right: -8px;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.625rem;
  color: var(--brand-petrol);
  background: var(--paper-0);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
}

/* --- Services grid (Leistungen) ------------------------------------- */

.ff-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) {
  .ff-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ff-services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Portfolio grid -------------------------------------------------- */

.ff-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 480px) {
  .ff-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  .ff-portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
  }
}

.ff-portfolio-tile {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--r-3);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
  display: block;
  text-decoration: none;
  color: inherit;
}
.ff-portfolio-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.ff-portfolio-tile .ff-photo-frame img {
  transition: transform var(--dur-slow) var(--ease);
}
.ff-portfolio-tile:hover .ff-photo-frame img {
  transform: scale(1.04);
}

.ff-portfolio-tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-7) var(--s-5) var(--s-5);
  background: linear-gradient(
    to top,
    rgba(61, 74, 72, 0.78) 0%,
    rgba(61, 74, 72, 0) 100%
  );
  color: var(--paper-0);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  pointer-events: none;
  border-radius: 0 0 var(--r-3) var(--r-3);
}
.ff-portfolio-tile__overlay .ff-portfolio-tile__name {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: var(--t-h4);
  line-height: 1.2;
}
.ff-portfolio-tile__overlay .ff-portfolio-tile__meta {
  font-size: var(--t-meta);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.ff-portfolio-tile.is-hidden { display: none; }

/* --- Über mich grid -------------------------------------------------- */

.ff-ueber-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .ff-ueber-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--s-9);
  }
}

.ff-ueber__copy h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-display-md);
  line-height: 1.1;
  margin-bottom: var(--s-5);
  color: var(--ink-1);
  letter-spacing: -0.01em;
}
.ff-ueber__copy p {
  color: var(--ink-2);
  font-size: var(--t-body-lg);
  line-height: 1.7;
  margin-bottom: var(--s-4);
}

/* --- Kontakt grid ---------------------------------------------------- */

.ff-kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 960px) {
  .ff-kontakt-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--s-8);
  }
}

.ff-kontakt__info h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-display-md);
  line-height: 1.1;
  color: var(--ink-1);
  margin-bottom: var(--s-5);
  letter-spacing: -0.01em;
}
.ff-kontakt__info dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.ff-kontakt__info dt {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-petrol);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: var(--s-2);
}
.ff-kontakt__info dd {
  margin: 0;
  font-size: var(--t-body);
  color: var(--ink-1);
  line-height: 1.6;
}
.ff-kontakt__info dd a { color: var(--ink-1); }
.ff-kontakt__info dd a:hover { color: var(--brand-petrol); }

/* --- Aktion banner card --------------------------------------------- */

.ff-aktion-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--paper-0);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.ff-aktion-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
@media (min-width: 768px) {
  .ff-aktion-banner { grid-template-columns: 5fr 7fr; }
}
.ff-aktion-banner__photo {
  position: relative;
  min-height: 320px;
}
.ff-aktion-banner__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.ff-aktion-banner__copy {
  padding: var(--s-7) var(--s-7) var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-4);
}
.ff-aktion-banner__copy h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--ink-1);
  margin: 0;
  letter-spacing: -0.01em;
}
.ff-aktion-banner__copy h3 em { font-style: italic; }

.ff-aktion-banner__price {
  font-size: var(--t-h3);
}

/* --- Studio / contact info utilities -------------------------------- */

.ff-map {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--r-3);
  overflow: hidden;
  filter: grayscale(0.2);
  margin-top: var(--s-6);
  box-shadow: var(--shadow-1);
}

/* --- Generic 2-col split (text + photo) ----------------------------- */

.ff-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 960px) {
  .ff-split { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
  .ff-split--reverse > :first-child { order: 2; }
}

/* --- Pillars (3 boxes on aktion page) ------------------------------- */

.ff-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .ff-pillars { grid-template-columns: repeat(3, 1fr); }
}
.ff-pillar {
  background: var(--paper-2);
  border-radius: var(--r-3);
  padding: var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.ff-pillar--photo {
  padding: 0;
  overflow: hidden;
  background: var(--paper-0);
  box-shadow: var(--shadow-2);
}
.ff-pillar__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-2);
}
.ff-pillar__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}
.ff-pillar--photo:hover .ff-pillar__photo img { transform: scale(1.03); }
.ff-pillar__body {
  padding: var(--s-6);
}
.ff-pillar__body h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-h2);
  color: var(--ink-1);
  margin-bottom: var(--s-3);
  letter-spacing: -0.005em;
}
.ff-pillar__body p {
  color: var(--ink-2);
  line-height: 1.65;
  font-size: var(--t-body);
  margin: 0;
}

/* Step as a full-bleed card with photo background, sticker-badge in corner
   and a localized gradient overlay only behind the title + description */
.ff-step--photo {
  display: block;
  gap: 0;
}
.ff-step__card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: var(--paper-2);
  isolation: isolate;
}
@media (min-width: 640px) {
  /* 2-column grid on desktop - keep portrait orientation so the photos
     have meaningful height and aren't dominated by the text overlay */
  .ff-step__card { aspect-ratio: 3 / 4; }
}
.ff-step__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform var(--dur-slow) var(--ease);
}
.ff-step--photo:hover .ff-step__card-bg { transform: scale(1.04); }

.ff-step__card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--s-7) var(--s-4) var(--s-4);
  color: var(--paper-0);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}
.ff-step__card-text {
  flex: 1;
  min-width: 0;
}
.ff-step__card-overlay h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--paper-0);
  margin: 0 0 var(--s-1);
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.ff-step__card-overlay p {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--t-meta);
  line-height: 1.45;
  margin: 0;
  /* Clamp the description to keep the bottom strip compact and let the
     photo above breathe on desktop. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sticker-style step badge - compact, sits at the left of the overlay */
.ff-step--photo .ff-step__thumb-num {
  position: relative;
  flex-shrink: 0;
  min-width: 64px;
  height: 64px;
  padding: 6px 10px 4px;
  border-radius: 12px;
  background: var(--brand-petrol);
  color: var(--paper-0);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 0.95;
  box-shadow: var(--shadow-2);
  border: 2px solid var(--paper-0);
  transform: rotate(-5deg);
  transition: transform var(--dur-base) var(--ease);
  z-index: 3;
}
.ff-step--photo .ff-step__thumb-num::before {
  content: "Schritt";
  display: block;
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}
.ff-step--photo:hover .ff-step__thumb-num {
  transform: rotate(-2deg) scale(1.05);
}
.ff-pillar h3 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-h2);
  color: var(--ink-1);
  margin-bottom: var(--s-3);
  letter-spacing: -0.005em;
}
.ff-pillar p {
  color: var(--ink-2);
  line-height: 1.65;
  font-size: var(--t-body);
}

/* --- CTA strip ------------------------------------------------------- */

.ff-cta-strip {
  text-align: center;
  padding: var(--s-9) var(--s-5);
  background: var(--brand-petrol-wash);
  border-radius: var(--r-3);
}
.ff-cta-strip h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-display-md);
  line-height: 1.1;
  color: var(--ink-1);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.ff-cta-strip h2 em { font-style: italic; }
.ff-cta-strip p {
  color: var(--ink-2);
  font-size: var(--t-body-lg);
  margin-bottom: var(--s-6);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

/* --- Service detail: gallery strip ---------------------------------- */

.ff-gallery-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 640px) {
  .ff-gallery-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ff-gallery-strip { grid-template-columns: repeat(3, 1fr); }
}

/* --- Bullet feature list -------------------------------------------- */

.ff-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  .ff-feature-list { grid-template-columns: repeat(3, 1fr); }
}
.ff-feature-list li {
  margin: 0;
  padding: var(--s-5) 0 0;
  border-top: 2px solid var(--brand-petrol);
}
.ff-feature-list h3 {
  font-size: var(--t-h4);
  margin-bottom: var(--s-3);
  color: var(--ink-1);
}
.ff-feature-list p {
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

/* --- Hero collage (3 photos with overlap) -------------------------- */

.ff-hero__collage {
  position: relative;
  width: 100%;
  margin-bottom: var(--s-7);
  display: block;
}
.ff-hero__collage-item {
  margin: 0;
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-2);
  position: relative;
}
.ff-hero__collage-item + .ff-hero__collage-item {
  margin-top: var(--s-4);
}
.ff-hero__collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}
.ff-hero__collage-item:hover img { transform: scale(1.02); }

/* Mobile: simple stacked aspect ratios - no cropping issues */
.ff-hero__collage-item--main { aspect-ratio: 4 / 5; }
.ff-hero__collage-item--tl   { aspect-ratio: 4 / 3; }
.ff-hero__collage-item--bl   { aspect-ratio: 1 / 1; }

.ff-hero__collage-item--tl img { object-position: center 30%; }
.ff-hero__collage-item--main img { object-position: center 35%; }
.ff-hero__collage-item--bl img { object-position: center 15%; }

/* Desktop ≥640: layered collage - main is on top, left photos sit underneath
   where they overlap, no rotation, slight horizontal shift toward center. */
@media (min-width: 640px) {
  .ff-hero__collage {
    aspect-ratio: 16 / 11;
    padding-bottom: var(--s-3);
  }
  .ff-hero__collage-item {
    position: absolute;
    margin: 0 !important;
    aspect-ratio: auto !important;
    transition: box-shadow var(--dur-base) var(--ease);
  }
  /* Main: dominant, on top in the stacking order */
  .ff-hero__collage-item--main {
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 3;
    box-shadow: var(--shadow-portrait);
  }
  /* Top-left: shifted up slightly so it pokes above the main photo, sits
     UNDER the main where they overlap */
  .ff-hero__collage-item--tl {
    top: -5%;
    left: 6%;
    width: 44%;
    height: 50%;
    z-index: 1;
  }
  /* Bottom-left: shifted down slightly so it pokes below the main photo,
     stays on top of the main where they overlap */
  .ff-hero__collage-item--bl {
    bottom: -7%;
    left: 0;
    width: 46%;
    height: 44%;
    z-index: 4;
  }
}

/* --- Aktion hero (with floating logo top-right) -------------------- */

.ff-aktion-hero {
  position: relative;
}
.ff-aktion-hero__logo {
  height: 44px;
  width: auto;
  background: transparent;
  /* Mobile: render at the top in normal flow */
  display: block;
  margin-bottom: var(--s-5);
}
@media (min-width: 768px) {
  .ff-aktion-hero__logo {
    /* Desktop: float into the top-right corner of the hero */
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    z-index: 5;
  }
}

/* --- Aktion landing layout ----------------------------------------- */

.ff-aktion-landing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-7);
}
.ff-aktion-landing > * {
  min-width: 0;
}
@media (min-width: 1024px) {
  .ff-aktion-landing {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--s-8);
    align-items: start;
  }
}

.ff-aktion-cta {
  position: sticky;
  top: var(--s-5);
  background: var(--paper-0);
  border-radius: var(--r-3);
  box-shadow: var(--shadow-3);
  padding: var(--s-6) var(--s-6) var(--s-5);
  min-width: 0;
  box-sizing: border-box;
  /* Scroll the form independently when it's taller than the viewport.
     Hide the scrollbar visually while keeping wheel/touch scrolling. */
  max-height: calc(100vh - var(--s-7));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Subtle fade at top + bottom so the user notices content can scroll.
     The technique (Lea Verou): two solid-paper gradients pinned via
     background-attachment: local cover the shadows when there's nothing to
     scroll; two scroll-attached gradient shadows reveal as content scrolls. */
  background-image:
    linear-gradient(var(--paper-0) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(rgba(255, 255, 255, 0), var(--paper-0) 70%) 0 100%,
    linear-gradient(rgba(2, 131, 117, 0.18), rgba(2, 131, 117, 0)),
    linear-gradient(rgba(2, 131, 117, 0), rgba(2, 131, 117, 0.18)) 0 100%;
  background-repeat: no-repeat;
  background-color: var(--paper-0);
  background-size: 100% 32px, 100% 32px, 100% 12px, 100% 12px;
  background-attachment: local, local, scroll, scroll;
}
.ff-aktion-cta::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Animated scroll-hint chevron - pinned to the bottom-right of the CTA card,
   stays inside the form's right margin so it never covers any text. Hides
   when the user starts scrolling and when they reach the bottom. */
.ff-aktion-cta__scroll-hint {
  position: sticky;
  bottom: var(--s-3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  /* Push to the right of the scrollable column, slightly outside the form */
  margin-left: auto;
  margin-right: calc(-1 * var(--s-3));
  margin-top: -36px; /* lift visually so it overlays empty bottom edge */
  border-radius: 999px;
  background: var(--brand-petrol);
  color: var(--paper-0);
  box-shadow: var(--shadow-2);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
  animation: ff-scroll-bounce 1.6s ease-in-out infinite;
  z-index: 4;
  opacity: 1;
}
.ff-aktion-cta.has-scrolled .ff-aktion-cta__scroll-hint,
.ff-aktion-cta.is-bottom .ff-aktion-cta__scroll-hint {
  opacity: 0;
  transform: translateY(8px);
}
@keyframes ff-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .ff-aktion-cta__scroll-hint { animation: none; }
}
.ff-aktion-cta .ff-form,
.ff-aktion-cta .ff-form__field {
  min-width: 0;
}
.ff-aktion-cta .ff-form__input,
.ff-aktion-cta .ff-form__select,
.ff-aktion-cta .ff-form__textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* CTA-card submit button - relaxed letter-spacing and softer padding so the
   long German label "Jetzt Gratis-Shooting sichern" doesn't crowd the edges */
.ff-aktion-cta .ff-btn--block {
  padding-left: var(--s-4);
  padding-right: var(--s-4);
  letter-spacing: 0.08em;
  font-size: var(--t-meta);
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}
.ff-aktion-cta__head {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.ff-aktion-cta__price-old {
  text-decoration: line-through;
  color: var(--ink-4);
  font-size: var(--t-h4);
  font-weight: 400;
}
.ff-aktion-cta__price-free {
  color: var(--brand-petrol);
  font-weight: 700;
  font-size: var(--t-h2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ff-aktion-cta h2 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.15;
  color: var(--ink-1);
  margin: 0 0 var(--s-3);
  letter-spacing: -0.005em;
}
.ff-aktion-cta h2 em { font-style: italic; }
.ff-aktion-cta p {
  color: var(--ink-2);
  font-size: var(--t-body-sm);
  line-height: 1.55;
  margin: 0 0 var(--s-4);
}
.ff-aktion-cta__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  margin: 0 0 var(--s-4);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
}
.ff-aktion-cta__meta dt {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-petrol);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: var(--s-1);
}
.ff-aktion-cta__meta dd {
  font-size: var(--t-body-sm);
  color: var(--ink-1);
  margin: 0;
  line-height: 1.4;
}

/* --- Aktion photo gallery (masonry-ish) ---------------------------- */

.ff-aktion-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (min-width: 640px) {
  .ff-aktion-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
  }
}
@media (min-width: 1280px) {
  .ff-aktion-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ff-aktion-gallery a {
  display: block;
  border-radius: var(--r-2);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  position: relative;
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.ff-aktion-gallery a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.ff-aktion-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}
.ff-aktion-gallery a:hover img { transform: scale(1.05); }

/* --- Minimal landing footer ---------------------------------------- */

.ff-min-footer {
  padding: var(--s-7) var(--container-pad) var(--s-8);
  border-top: 1px solid var(--paper-3);
  background: var(--paper-1);
  text-align: center;
  font-size: var(--t-meta);
  color: var(--ink-3);
  margin-top: var(--s-9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}
.ff-min-footer a {
  color: var(--ink-2);
  margin: 0 var(--s-3);
}
.ff-min-footer a:hover { color: var(--brand-petrol); }

/* --- Mobile-specific polish ---------------------------------------- */

@media (max-width: 640px) {
  /* Tighter container padding on phones */
  .ff-container {
    padding-left: var(--s-4);
    padding-right: var(--s-4);
  }
  /* Action page CTA on mobile: same labels/structure as desktop, just no
     inner scrollbar. Disable the sticky+max-height behaviour so the form
     flows naturally as a regular page section. */
  .ff-aktion-cta {
    position: static;
    max-height: none;
    overflow: visible;
    padding: var(--s-5) var(--s-5) var(--s-5);
    background-image: none;
  }
  .ff-aktion-cta__scroll-hint {
    display: none;
  }
  /* Section hero CTAs go full-width on mobile for better tap targets */
  .ff-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .ff-hero__ctas .ff-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  /* Smaller eyebrow + tighter heading rhythm */
  .ff-section { padding-top: var(--s-7); padding-bottom: var(--s-7); }
  .ff-section__head { margin-bottom: var(--s-6); }
  /* Sticky CTA card on mobile: not sticky (page is too narrow) */
  .ff-aktion-cta {
    position: static;
    padding: var(--s-5) var(--s-5) var(--s-4);
  }
  /* Floating logo on the action hero - back into normal flow on mobile */
  .ff-aktion-hero__logo {
    position: static;
    margin-bottom: var(--s-4);
  }
  /* Footer: tighter rhythm */
  .ff-footer { padding: var(--s-7) 0 var(--s-5); margin-top: var(--s-7); }
  .ff-footer__grid { gap: var(--s-5); }
  /* Pillars and steps stack with comfortable gap */
  .ff-pillars { gap: var(--s-4); }
  .ff-steps { gap: var(--s-5); }
  /* Aktion landing: ensure pure single column */
  .ff-aktion-landing { gap: var(--s-6); }
  /* Hide the big sticker badge on the smallest phones to keep the card clean */
  .ff-step--photo .ff-step__thumb-num {
    min-width: 76px;
    height: 76px;
    font-size: 1.625rem;
    top: var(--s-3);
    right: var(--s-3);
  }
  /* Extra-tight spacing for the floating CTA + sticky header coexistence */
  .ff-header { z-index: 40; }
  /* Quote block padding scales down */
  .ff-quote-block { padding: var(--s-5) var(--s-3); }
  /* Service grid keeps 1 column already on smallest, ensure cards aren't too tall */
  .ff-card--service { padding: var(--s-6) var(--s-5); }
}

@media (max-width: 380px) {
  /* Extra-small phones */
  .ff-hero h1, .ff-hero__copy h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
  .ff-aktion-cta .ff-form__input,
  .ff-aktion-cta .ff-form__textarea {
    font-size: 16px; /* prevent iOS zoom on focus */
  }
}

/* iOS zoom-on-focus fix: form inputs ≥ 16px font-size on phones */
@media (max-width: 640px) {
  .ff-form__input,
  .ff-form__select,
  .ff-form__textarea {
    font-size: 16px;
  }
}

/* --- Page hero (smaller variant for sub-pages) ---------------------- */

.ff-page-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.ff-page-hero h1 {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: var(--t-display-md);
  line-height: 1.1;
  color: var(--ink-1);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.ff-page-hero h1 em { font-style: italic; }
.ff-page-hero__lede {
  font-size: var(--t-body-lg);
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 60ch;
}
