/* ==========================================================================
   Malic Service Group – Entwurf NEU (Ergänzung zu styles.css)
   Alles hier überschreibt nur einzelne Bereiche der bestehenden Seite.
   ========================================================================== */

/* ---------- 1) Logo im Kopfbereich (Original-Logo, Rand weggeschnitten) ---------- */
.brand { width: auto; height: auto; overflow: visible; margin: 4px 0; display: block; }
.brand .brand-logo { width: auto; height: 68px; max-width: none; margin: 0; }
@media (max-width: 760px) { .brand .brand-logo { height: 60px; } }

/* ---------- 1) Kein Wasserzeichen hinter den Rechnern ---------- */
.calc-logo { display: none; }

/* ---------- 4) Kundenlogos: feste Reihe, einheitlich in Navy ---------- */
.clients-static { padding-top: 40px; padding-bottom: 44px; text-align: center; }
.clients-title { margin: 0 0 24px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.client-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.client-row li { flex: 1 1 0; display: flex; justify-content: center; }
.client-row img { width: auto; max-width: 100%; opacity: .78; transition: opacity .3s; }
.client-row li:hover img { opacity: 1; }
@media (max-width: 760px) {
  .client-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .client-row img { transform: scale(.82); }
}

/* ---------- 2) Leistungen: Büro als Hauptkarte ---------- */
.services-feature { grid-template-columns: 1.35fr 1fr; gap: 32px 48px; }
.services-feature .feature { grid-row: span 2; align-self: start; }
.services-feature .feature .photo { aspect-ratio: 4 / 3; }
.services-feature .feature h3 { font-size: 32px; }
.services-feature .feature > p:not(.items) { font-size: 18px; max-width: 30em; }
.services-feature article:not(.feature) .photo { aspect-ratio: 16 / 9; }
.tag { align-self: flex-start; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--navy); background: #e6e2d8; padding: 5px 12px; border-radius: 999px; }
@media (max-width: 900px) {
  .services-feature { grid-template-columns: 1fr; }
  .services-feature .feature { grid-row: auto; }
}
/* Anfrage als Button – direkt unter der Beschreibung, ohne Lücke */
.services .service-cta { margin-top: 0; }
/* Nur der Button führt zur Anfrage – das Bild reagiert beim Drüberfahren, ist aber kein Link */
.services article { cursor: default; }
.services .service-cta::after { content: none; }
.services .service-cta:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  /* Effekte der ganzen Karte abschalten … */
  .services article:hover .photo { transform: none; box-shadow: none; }
  .services article:hover .photo img { transform: none; filter: none; }
  .services article:hover .photo::after { opacity: 0; }
  .services article:hover .service-cta { background: var(--navy); }
  .services article:hover .service-cta span { transform: none; }
  /* … und nur beim Bild selbst bzw. beim Button zeigen */
  .services article .photo:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(13,27,76,.45); }
  .services article .photo:hover img { transform: scale(1.06); filter: saturate(1.08) brightness(1.03); }
  .services article .photo:hover::after { opacity: 1; }
  .services article .service-cta:hover { background: var(--navy-hover); }
  .services article .service-cta:hover span { transform: translateX(5px); }
}
.services article .items { margin-bottom: 18px; }

/* ---------- 2) Ablauf: schlanke Zeitleiste ---------- */
.steps-timeline { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: none; }
.steps-timeline::before { content: ""; position: absolute; top: 27px; left: 28px; right: calc(33.333% - 28px); height: 2px; background: linear-gradient(90deg, var(--navy) 0 0) no-repeat, var(--line); }
.steps-timeline li { position: relative; padding-top: 0; gap: 10px; }
.steps-timeline h3 { padding-top: 0; border-top: 0; flex-direction: column; align-items: flex-start; gap: 18px; }
.steps-timeline h3 span:first-child {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 18px; letter-spacing: 0; box-shadow: 0 0 0 8px var(--bg);
}
.steps-timeline .dash { display: none; }
.steps-timeline p { max-width: 22em; }
@media (max-width: 760px) {
  .steps-timeline { grid-template-columns: 1fr; gap: 28px; }
  .steps-timeline::before { display: none; }
  .steps-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: -28px; width: 2px; background: var(--navy); }
  .steps-timeline li { padding-left: 80px; min-height: 56px; }
  .steps-timeline h3 span:first-child { position: absolute; left: 0; top: 0; }
  .steps-timeline h3 { padding-top: 12px; }
}

/* ---------- 5) Preisrechner: Ergebnis als eigene Karte ---------- */
.calc-result { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: clamp(24px, 3vw, 40px); }

/* ---------- 4) Kundenstimme ---------- */

/* ---------- 3) FAQ: Hilfekarte in der linken Spalte ---------- */
.faq-side { display: flex; flex-direction: column; gap: 32px; }
.help-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); max-width: 420px; }
.help-card img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.help-card p { margin: 0; color: var(--text-3); font-size: 16px; }
.help-card .help-title { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 4px; }
.help-card a { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--navy); text-decoration: none; }
.help-card a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 3) Kontakt: persönlicher Ansprechpartner ---------- */
.contact-person { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.contact-person img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255,255,255,.5); }
.contact-person p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-person strong { font-family: var(--head); font-weight: 700; font-size: 20px; color: #fff; }
.contact-person span { font-size: 15px; color: var(--on-navy); }

/* ---------- 5) Fußzeile: dunkel und vollständig ---------- */
.footer-rich { background: #0a1640; color: var(--on-navy); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a, .footer-grid span { color: var(--on-navy); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-h { margin: 0 0 6px; font-weight: 600; color: #fff; }
.footer-brand { gap: 14px !important; }
.footer-logo { width: auto; height: 92px; align-self: flex-start; }
.footer-brand p { margin: 6px 0 0; max-width: 24em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: var(--on-navy-3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; } }

/* ---------- 5) Handy: Titelbild stärker abdunkeln ---------- */
@media (max-width: 760px) {
  .hero-shade { background: linear-gradient(0deg, rgba(9,19,58,.95) 0%, rgba(9,19,58,.78) 55%, rgba(9,19,58,.45) 85%, rgba(9,19,58,.3) 100%); }
}

/* ---------- Kundenlogos: laufendes Band wie bisher, aber einheitlich in Navy ---------- */
.clients-band { text-align: center; padding-top: 36px; padding-bottom: 40px; }
.clients-band .clients-title { margin-bottom: 20px; }
.clients-band .marquee-track { background: transparent; animation-duration: 85s; } /* 10 Logos → langsamer, damit das Tempo gleich bleibt */
.clients-band .marquee-track li { width: auto; height: 72px; margin: 0 72px; } /* Breite = Logo, Abstand überall gleich */
.clients-band .marquee-track img { filter: none; mix-blend-mode: normal; opacity: .8; transform: none; width: auto; max-width: none; }
.clients-band .marquee-track li:hover img { opacity: 1; }
@media (max-width: 560px) {
  .clients-band .marquee-track li { width: auto; margin: 0 42px; }
  .clients-band .marquee-track img { zoom: .85; }
}
