/*
Theme Name: Stinner IT
Theme URI: https://stinner-it.com
Description: Divi Child Theme für Stinner IT-Solutions
Author: Stinner IT-Solutions
Author URI: https://stinner-it.com
Template: Divi
Version: 1.0.0
Text Domain: stinner-it
*/

/*
 * Globale Styles für Stinner IT.
 */

/* Startseite 2026: letzte Go-live-Korrekturen, vollständig gekapselt. */
body.stinner-home-2026 {
  overflow-x: clip !important;
}

/* Alter Divi-Footertext nur auf der neuen Startseite ersetzen. */
body.stinner-home-2026 #footer-info {
  font-size: 0 !important;
  line-height: 1.5 !important;
}

body.stinner-home-2026 #footer-info::before {
  color: #8d8790;
  content: "© 2026 | stinner-it.com | All rights reserved.";
  font-size: 14px;
}

/* Cookie-Verwaltung links unten, damit sie nicht mit dem Chat kollidiert. */
body.stinner-home-2026 .cmplz-manage-consent {
  bottom: 16px !important;
  left: 16px !important;
  right: auto !important;
  max-width: calc(100vw - 112px) !important;
  z-index: 9998 !important;
}

/* Gängige Selektoren des eingesetzten WP-Live-Chat-Plugins rechts halten. */
body.stinner-home-2026 #wp-live-chat,
body.stinner-home-2026 #wplc_hovercard,
body.stinner-home-2026 #wplc_chatbox,
body.stinner-home-2026 .wplc_chatbox,
body.stinner-home-2026 .wplc_launcher,
body.stinner-home-2026 [class*="wplc_"][class*="launcher"] {
  bottom: 18px !important;
  right: 18px !important;
  z-index: 9999 !important;
}

@media (max-width: 680px) {
  body.stinner-home-2026 .stinner-final > .et_pb_row {
    width: min(calc(100% - 28px), var(--stf-content)) !important;
  }

  body.stinner-home-2026 .stf-section {
    padding: 56px 0 !important;
  }

  body.stinner-home-2026 .stf-hero-shell {
    padding: 68px 0 34px !important;
  }

  body.stinner-home-2026 .stf-hero-main {
    gap: 30px !important;
  }

  body.stinner-home-2026 .stf-logo {
    width: min(72%, 240px) !important;
  }

  body.stinner-home-2026 .stf-hero-copy h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.35rem) !important;
    line-height: 1.01 !important;
  }

  body.stinner-home-2026 .stf-hero-copy .stf-lead,
  body.stinner-home-2026 .stinner-final p,
  body.stinner-home-2026 .stinner-final li {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  body.stinner-home-2026 .stf-status {
    padding: 24px !important;
  }

  body.stinner-home-2026 .stf-status::before {
    margin: -24px -24px 24px !important;
  }

  body.stinner-home-2026 .stf-problem-card,
  body.stinner-home-2026 .stf-service-card,
  body.stinner-home-2026 .stf-industry-card,
  body.stinner-home-2026 .stf-process li {
    padding: 26px !important;
  }

  body.stinner-home-2026 .stf-team-card img {
    aspect-ratio: 4 / 3 !important;
    object-position: center 22% !important;
  }

  body.stinner-home-2026 .stf-proof-title {
    margin-bottom: 22px !important;
  }

  body.stinner-home-2026 .stf-logo-card,
  body.stinner-home-2026 .stf-partner-grid .stf-logo-card {
    min-height: 112px !important;
    padding: 18px !important;
  }

  body.stinner-home-2026 .stf-cta-section h2 {
    font-size: clamp(2.1rem, 11vw, 3rem) !important;
  }

  /* Mobil keine Inhaltsüberlagerungen durch feste Widgets. */
  body.stinner-home-2026 .cmplz-manage-consent {
    bottom: 8px !important;
    left: 8px !important;
    max-width: 150px !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  body.stinner-home-2026 #wp-live-chat,
  body.stinner-home-2026 #wplc_hovercard,
  body.stinner-home-2026 #wplc_chatbox,
  body.stinner-home-2026 .wplc_chatbox,
  body.stinner-home-2026 .wplc_launcher,
  body.stinner-home-2026 [class*="wplc_"],
  body.stinner-home-2026 .et_pb_scroll_top {
    display: none !important;
  }
}
