/* /dienstleistungen, timeline "Ihr Weg mit Finaro" and homepage section "Wie können wir Ihnen helfen?"
   (client DOCX 16 Oct 2026; Ausbau DOCX 15 Oct 2026, A9). Area colours via farben.css (--bereich*). */

.dl-head { max-width: 760px; margin: 0 0 32px; }
.dl-head .sec-title { margin-bottom: 0; }
.dl-head__text { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: #4D4D4D; }

/* ------------------------------------------------------------------ /dienstleistungen cards */
.dl-overview { padding-top: 64px; }
.dl-overview__switch { display: flex; justify-content: center; margin-bottom: 32px; }
.dl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dl-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #E3E3E3;
  border-top: 4px solid var(--bereich);
  border-radius: 4px 4px 14px 14px;
  background: #FFFFFF;
}
.dl-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--bereich-hell);
  color: var(--bereich-dunkel);
  font-size: 26px;
}
.dl-card__title { margin: 0 0 10px; font-size: 26px; line-height: 1.25; }
.dl-card__body { display: flex; flex-direction: column; flex: 1; }
.dl-card__text { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: #4D4D4D; }
.dl-card__links { margin: 0 0 22px; padding: 0; list-style: none; }
.dl-card__links li { border-top: 1px solid #EDEDED; }
.dl-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 0;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
}
a.dl-card__link::after { content: "\2192"; color: var(--bereich-dunkel); }
a.dl-card__link:hover, a.dl-card__link:focus-visible { color: var(--bereich-dunkel); }
.dl-card__link.is-planned { color: #6B6B6B; }
.dl-card__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid var(--bereich-dunkel);
  border-radius: 8px;
  font-weight: 600;
  color: var(--bereich-dunkel);
  text-decoration: none;
  transition: background-color .15s ease;
}
.dl-card__all:hover { background: var(--bereich-hell); color: var(--bereich-dunkel); }
.dl-overview a:focus-visible, .dl-weg a:focus-visible, .dl-hilfe a:focus-visible { outline: 2px solid var(--bereich-dunkel); outline-offset: 2px; }

/* ------------------------------------------------------------------ timeline */
.dl-weg { padding-top: 96px; }
.dl-weg__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dl-weg__list::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--finaro); }
.dl-weg__station { position: relative; padding-top: 38px; }
.dl-weg__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 3px solid var(--finaro);
  border-radius: 50%;
  background: #FFFFFF;
}
.dl-weg__title { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.dl-weg__text { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #4D4D4D; }
.dl-weg__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dl-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bereich-hell);
  color: var(--bereich-dunkel);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
a.dl-chip:hover { background: var(--bereich-dunkel); color: #FFFFFF; }
.dl-chip.is-planned { background: var(--finaro-hell); color: #6B6B6B; }
@media (max-width: 991px) {
  .dl-weg { padding-top: 72px; }
  .dl-weg__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dl-weg__list::before { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .dl-weg__station { padding: 0 0 0 44px; }
  .dl-chip { min-height: 44px; }
}

/* ------------------------------------------------------------------ homepage "Wie können wir Ihnen helfen?" */
.dl-hilfe { padding-top: 80px; }
.dl-hilfe__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dl-hilfe__col {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #E3E3E3;
  border-radius: 14px;
  background: #FFFFFF;
}
.dl-hilfe__title { margin: 0 0 12px; font-size: 22px; line-height: 1.3; }
.dl-hilfe__links { margin: 0 0 24px; padding: 0; list-style: none; }
.dl-hilfe__links li { border-top: 1px solid #EDEDED; }
.dl-hilfe__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
}
.dl-hilfe__link::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bereich); }
a.dl-hilfe__link::after { content: "\2192"; margin-left: auto; color: var(--bereich-dunkel); }
a.dl-hilfe__link:hover, a.dl-hilfe__link:focus-visible { color: var(--bereich-dunkel); }
.dl-hilfe__link.is-planned { color: #6B6B6B; }
.dl-hilfe__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

@media (max-width: 767px) {
  .dl-overview { padding-top: 48px; }
  .dl-cards, .dl-hilfe__grid { grid-template-columns: minmax(0, 1fr); }
  .dl-card, .dl-hilfe__col { padding: 22px; }
  .dl-hilfe { padding-top: 56px; }
  .dl-hilfe__actions .global-btn { width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------ homepage hero (DOCX 3.1 + chapter 8) */
/* the claim carries the brand as H1, with an accent line in logo grey; the video structure is unchanged */
.text-overlay .hero-title.dl-hero-claim { display: block; }
.dl-hero-claim::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 16px; background: var(--finaro); }
.text-overlay .hero-text.dl-hero-subline {
  display: block;
  max-width: 620px;
  margin-top: 16px;
  color: #1A1A1A;
  font-size: 19px;
  line-height: 1.55;
}
.dl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-hero-actions .global-btn { border-radius: 10px !important; }
@media (max-width: 767px) {
  .text-overlay .hero-text.dl-hero-subline { font-size: 15px; color: #1A1A1A; }
  .dl-hero-claim::after { width: 48px; height: 3px; margin-top: 10px; }
}
/* the theme indents .hero-text; the subline aligns with the claim and the buttons */
.text-overlay .hero-text.dl-hero-subline { padding-left: 0; padding-right: 0; }
/* homepage hero layout with claim, subline and two buttons (scoped to .dl-hero; the video stays) */
.text-overlay.dl-hero .hero-title.dl-hero-claim { margin-top: 0; margin-left: 0; padding-left: 0; }
@media (max-width: 1024px) {
  .text-overlay.dl-hero .hero-title.dl-hero-claim { font-size: 34px; line-height: 1.2; }
}
@media (max-width: 768px) {
  /* the overlay spans the viewport on mobile; end the content inside the hero (header 114px + hero 70vh) */
  .text-overlay.dl-hero { padding: 20px 20px calc(30vh - 90px) !important; justify-content: flex-end !important; }
  .text-overlay.dl-hero .hero-title.dl-hero-claim { font-size: 26px; }
  .text-overlay.dl-hero .hero-text.dl-hero-subline { margin: 12px 0 18px; }
  .text-overlay.dl-hero .dl-hero-actions { width: 100%; gap: 10px; }
  .text-overlay.dl-hero .dl-hero-actions .global-btn { width: 100%; margin-left: 0; padding: 15px 18px; font-size: 16px; text-align: center; }
}
/* the theme indents .btn-group on small screens; the hero buttons align with the claim */
.text-overlay.dl-hero .btn-group.dl-hero-actions { padding-left: 0; justify-content: flex-start; }
@media (max-width: 400px) {
  .text-overlay.dl-hero .dl-hero-actions .global-btn img { display: none; }
}
