.fr-hero-intro a.fr-inline-cta{
  color: inherit;
  font-weight: 600;
}

/* Kontakt: photo left, links right */
#kontakt-start .fr-mini-frame-me{
  float: left;
  width: 133px;              /* matches your img width */
  margin: 0 24px 10px 0;     /* space to the right + a bit below */
}

#kontakt-start .fr-mini-frame-me img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* make the text block sit next to the float nicely */
#kontakt-start .icon{
  overflow: hidden;          /* creates a new block formatting context */
}

/* clear the float so the section height is correct */
#kontakt-start::after{
  content: "";
  display: block;
  clear: both;
}

/* Mobile: stack again */
@media (max-width: 781px){
  #kontakt-start .fr-mini-frame-me{
    float: none;
    width: auto;
    margin: 0 0 14px 0;
  }
  #kontakt-start .icon{
    overflow: visible;
  }
}

/* Studio text + video split */
.fr-studio-split{
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.fr-studio-copy{
  flex: 1 1 0;
  min-width: 0;
}

.fr-studio-video{
  flex: 0 0 320px;
  max-width: 360px;
}

/* Mobile: stack + center video, reduce vertical gap */
@media (max-width: 768px){
  .fr-studio-split{
    flex-direction: column;
    gap: 14px;               /* was 22px → reduces space under caption */
  }

  .fr-studio-video{
    flex-basis: auto;
    width: 100%;
    max-width: 340px;        /* matches your original video width */
    margin: 0 auto;          /* centered, no extra bottom spacing */
  }
}

/* Video wrapper + custom play overlay */
.fr-video-wrap{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.fr-video{
  width: 100%;
  display: block;
  background: #000;

  /* portrait-ish frame */
  aspect-ratio: 4 / 5;
  max-height: 400px;
  object-fit: cover;

  /* safety against theme overrides */
  border-radius: inherit;
}

/* Clickable play overlay button */
.fr-video-play{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;

  /* mobile polish */
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.fr-video-play,
.fr-video-play:hover,
.fr-video-play:active,
.fr-video-play:focus{
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}

/* Play icon */
.fr-video-play-icon{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(17,17,17,.45);
  backdrop-filter: blur(4px);
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.fr-video-play-icon::before{
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid rgba(255,255,255,.95);
}

/* Optional: subtle feedback without darkening the whole video */
.fr-video-play:hover .fr-video-play-icon{
  transform: scale(1.03);
}

/* Video caption */
.fr-video-caption{
  margin: 8px 0 4px;         /* small bottom margin (not “big padding”) */
  font-size: 13px;
  line-height: 1.35;
  opacity: .82;
  text-align: center;
}

/* WHY ME: photo + bullets — robust vertical centering */
#warum-francesco .fr-why-row{
  display: flex;
  gap: 22px;
  align-items: center;        /* center image + text column */
}

/* photo column */
#warum-francesco .fr-mini-frame-me{
  flex: 0 0 133px;
  max-width: 133px;
}
#warum-francesco .fr-mini-frame-me img{
  display: block;
  width: 100%;
  height: auto;
}

/* text column: center UL against the portrait height */
#warum-francesco .fr-why-copy{
  display: flex;
  align-items: center;        /* centers the UL inside this column */
  min-height: 200px;          /* matches your image height */
}

/* kill default UL margins so centering is exact */
#warum-francesco .fr-why-copy ul{
  margin: 0;                  /* IMPORTANT */
  padding-left: 18px;         /* keep a clean bullet indent */
}

/* Mobile: stack */
@media (max-width: 781px){
  #warum-francesco .fr-why-row{
    flex-direction: column;
    align-items: flex-start;
  }
  #warum-francesco .fr-why-copy{
    min-height: 0;            /* don’t force height on mobile */
  }
}

@media (min-width: 769px){
  .fr-studio-row {
    margin-top: 20px; 
  }
}

/* =========================
   Leistungen – Cards section (scoped)
   ========================= */

#leistungen .fr-services-section{
  background: #f6f6f5;
  border-radius: 18px;
  padding: 34px 26px;
}

#leistungen .fr-services-section .fr-service-row,
#leistungen .fr-services-section .fr-service-row-last{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 18px 24px;
  margin: 14px 0;
}

/* Inner layout */
#leistungen .fr-services-section .fr-service-row{
  display: flex;
  align-items: center;
  gap: 14px;
}

#leistungen .fr-services-section .fr-service-image{ margin: 0; }
#leistungen .fr-services-section .fr-service-text{ margin: 0; padding: 0; min-width: 0; }

#leistungen-toc{ margin-bottom: 14px; }

/* Desktop */
@media (min-width: 900px){
  #leistungen .fr-services-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
  }

  #leistungen .fr-services-section .fr-service-row,
  #leistungen .fr-services-section .fr-service-row-last{
    margin: 0;
  }

  #leistungen .fr-services-section #leistungen-toc,
  #leistungen .fr-services-section .h-headline,
  #leistungen .fr-services-section > p{
    grid-column: 1 / -1;
  }

  /* --- FIX: equal padding/spacing on both columns --- */
  #leistungen .fr-services-section a.fr-service-card.fr-service-row{
    --card-pad-x: 24px; /* MUST match card padding left/right above */
  }

  /* default: image left → pull to left edge */
  #leistungen .fr-services-section a.fr-service-card.fr-service-row .fr-service-image{
    margin-left: calc(-1 * var(--card-pad-x));
    margin-right: 0;
  }

  /* even cards (right column) are row-reversed somewhere → pull to right edge */
  #leistungen .fr-services-section a.fr-service-card.fr-service-row:nth-child(even) .fr-service-image{
    margin-left: 0;
    margin-right: calc(-1 * var(--card-pad-x));
  }
}

/* Hover only on these cards */
@media (hover:hover){
  #leistungen .fr-services-section .fr-service-row:hover{
    border-color: rgba(0,0,0,0.10);
  }
}

/* Mobile: wider cards */
@media (max-width: 899px){
  #leistungen .fr-services-section{
    padding: 20px 10px;
    border-radius: 16px;
    margin-left: -6px;
    margin-right: -6px;
  }

  #leistungen .fr-services-section .fr-service-row,
  #leistungen .fr-services-section .fr-service-row-last{
    padding: 16px 16px;
    margin: 12px 0;
    border-radius: 14px;
  }
}

/* Whole card behaves like a card, not like a blue link */
#leistungen .fr-services-section a.fr-service-card{
  color: inherit;
  text-decoration: none;
}

/* Keep ONLY the "Mehr ..." line link-styled (blue + underline) */
#leistungen .fr-services-section a.fr-service-card .fr-service-link{
  color: #0170B9; /* Astra blue */
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Optional: subtle hover polish */
@media (hover:hover){
  #leistungen .fr-services-section a.fr-service-card:hover .fr-service-link{
    opacity: .85;
  }
}

/* Premium hover: very subtle “mist” */
@media (hover:hover){
  #leistungen .fr-services-section a.fr-service-card.fr-service-row{
    transition: background-color .18s ease, border-color .18s ease;
  }
  #leistungen .fr-services-section a.fr-service-card.fr-service-row:hover{
    background-color: rgba(255,255,255,.06); /* lighter than before */
    border-color: rgba(0,0,0,.08);
  }
}
