/* =========================================================
   Motormakkers Tools pagina
   Bestand: /css/tools.css
   Pagina's:
   - /motormakkers-tools/
   - /en/motorcycle-tools/
   ========================================================= */

.mm-tools-app-page {
  --mm-blue: #12354a;
  --mm-blue-dark: #0b2536;
  --mm-orange: #ff4903;
  --mm-orange-soft: rgba(255, 73, 3, 0.12);
  --mm-bg: #f5f7fa;
  --mm-card: #ffffff;
  --mm-text: #243746;
  --mm-muted: #667785;
  --mm-border: rgba(18, 53, 74, 0.12);
  --mm-shadow: 0 18px 45px rgba(18, 53, 74, 0.12);

  color: var(--mm-text);
}

.mm-tools-app-page * {
  box-sizing: border-box;
}

/* =========================================================
   Hero
   ========================================================= */

.mm-tools-hero {
  display: block;
  width: 100%;
  padding: clamp(34px, 5vw, 72px);
  margin: 0 0 46px;
  border-radius: 28px;
  background-image:
    linear-gradient(
	90deg,
    rgba(11, 37, 54, 0.78) 0%,
    rgba(18, 53, 74, 0.62) 52%,
    rgba(18, 53, 74, 0.38) 100%
    ),
    url('https://motormakkers.nl/wp-content/uploads/2026/07/motormakkers-gpx-route-tools-achtergrond.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.mm-tools-hero-content {
  width: 100%;
  max-width: none;
}

.mm-tools-eyebrow {
  margin: 0 0 18px;
  color: var(--mm-orange);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mm-tools-hero h1 {
  width: 100%;
  max-width: none;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(3rem, 6.4vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.mm-tools-hero-text {
  width: 100%;
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

/* Oude rechter app-card uitschakelen als die per ongeluk nog in HTML staat */
.mm-tools-hero-panel,
.mm-tools-phone-card,
.mm-tools-phone-top,
.mm-tools-phone-title,
.mm-tools-phone-row {
  display: none !important;
}

/* =========================================================
   Algemene secties
   ========================================================= */

.mm-tools-section {
  margin: 0 0 56px;
}

/* Volledige breedte voor NL én EN sectiekoppen */
.mm-tools-section-heading {
  width: 100%;
  max-width: none;
  margin: 0 0 58px;
}

.mm-tools-section-heading h2,
.mm-tools-why h2 {
  width: 100%;
  max-width: none;
  margin: 0 0 14px;
  color: var(--mm-blue-dark);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.mm-tools-section-heading p:not(.mm-tools-eyebrow) {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--mm-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* =========================================================
   Tool cards
   ========================================================= */

.mm-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mm-tool-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--mm-border);
  border-radius: 24px;
  background: var(--mm-card);
  box-shadow: 0 12px 32px rgba(18, 53, 74, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.mm-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 73, 3, 0.42);
  box-shadow: var(--mm-shadow);
}

.mm-tool-card-highlight {
  border: 2px solid rgba(255, 73, 3, 0.55);
}

.mm-tool-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 178px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 73, 3, 0.09), transparent 38%),
    linear-gradient(135deg, #eef3f7, #ffffff);
  text-decoration: none !important;
}

.mm-tool-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  transition: transform 0.18s ease;
}

.mm-tool-card:hover .mm-tool-image img {
  transform: scale(1.03);
}

.mm-tool-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.mm-tool-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--mm-orange-soft);
  color: var(--mm-orange);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mm-tool-card h3 {
  margin: 0 0 10px;
  color: var(--mm-blue-dark);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.15;
}

.mm-tool-card p {
  margin: 0 0 16px;
  color: var(--mm-muted);
  line-height: 1.65;
}

.mm-tool-card ul {
  margin: 0 0 22px;
  padding-left: 19px;
  color: var(--mm-text);
}

.mm-tool-card li {
  margin: 5px 0;
  line-height: 1.45;
}

.mm-tool-card li::marker {
  color: var(--mm-orange);
}

/* =========================================================
   Buttons / links
   ========================================================= */

.mm-tools-button,
.mm-tool-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.mm-tools-button:hover,
.mm-tool-link:hover {
  transform: translateY(-2px);
}

.mm-tool-link {
  margin-top: auto;
  background: var(--mm-blue);
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(18, 53, 74, 0.16);
}

.mm-tool-link:hover {
  background: var(--mm-blue-dark);
  color: #ffffff !important;
}

.mm-tools-button-primary {
  background: var(--mm-orange);
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(255, 73, 3, 0.28);
}

.mm-tools-button-primary:hover {
  background: var(--mm-orange);
  color: #ffffff !important;
}

.mm-tools-button-secondary {
  background: var(--mm-blue);
  color: #ffffff !important;
  border: 1px solid var(--mm-blue);
  box-shadow: 0 10px 24px rgba(18, 53, 74, 0.16);
}

.mm-tools-button-secondary:hover {
  background: var(--mm-blue-dark);
  border-color: var(--mm-blue-dark);
  color: #ffffff !important;
}

/* Suggestie-button onderaan in MM-oranje */
.mm-tools-why .mm-tools-button-secondary {
  background: var(--mm-orange);
  border-color: var(--mm-orange);
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(255, 73, 3, 0.28);
}

.mm-tools-why .mm-tools-button-secondary:hover {
  background: #d93d00;
  border-color: #d93d00;
  color: #ffffff !important;
}

/* =========================================================
   Keuzehulp
   ========================================================= */

.mm-tools-choice {
  padding: clamp(26px, 4vw, 44px);
  margin: 0 0 46px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 73, 3, 0.08), transparent 34%),
    var(--mm-bg);
}

.mm-tools-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* 2x2 grid voor de keuzehulp */
.mm-tools-choice-grid-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mm-choice-card {
  padding: 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--mm-border);
  box-shadow: 0 8px 22px rgba(18, 53, 74, 0.06);
}

.mm-choice-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--mm-orange);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.88rem;
}

.mm-choice-card h3 {
  margin: 0 0 8px;
  color: var(--mm-blue-dark);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.2;
}

.mm-choice-card p {
  margin: 0;
  color: var(--mm-muted);
  line-height: 1.6;
}

/* =========================================================
   Waarom sectie
   ========================================================= */

.mm-tools-why {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
  padding: clamp(28px, 5vw, 52px);
  margin-bottom: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at bottom right, rgba(255, 73, 3, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff, #f5f7fa);
  border: 1px solid var(--mm-border);
}

.mm-tools-why p:not(.mm-tools-eyebrow) {
  margin: 0 0 18px;
  color: var(--mm-muted);
  line-height: 1.75;
}

.mm-tools-why .mm-tools-button-secondary {
  margin-top: 4px;
}

/* =========================================================
   GeneratePress / WordPress kleine correcties
   ========================================================= */

.mm-tools-app-page a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.mm-tools-app-page figure {
  margin: 0;
}

.mm-tools-app-page img {
  height: auto;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .mm-tools-grid {
    gap: 20px;
  }

  .mm-tools-hero h1 {
    font-size: clamp(3rem, 7vw, 4.8rem);
  }
}

@media (max-width: 900px) {
  .mm-tools-grid {
    grid-template-columns: 1fr;
  }

  .mm-tools-choice-grid,
  .mm-tools-choice-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .mm-tools-why {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mm-tools-hero {
    padding: 30px 24px;
    margin-bottom: 36px;
    border-radius: 22px;
    background-position: center;
  }

  .mm-tools-hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 10vw, 4.4rem);
    line-height: 1.02;
  }

  .mm-tools-hero-text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .mm-tools-section-heading h2,
  .mm-tools-why h2 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .mm-tool-card-body {
    padding: 22px;
  }

  .mm-tools-choice,
  .mm-tools-why {
    padding: 24px 22px;
  }
}

@media (max-width: 560px) {
  .mm-tools-hero {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .mm-tools-eyebrow {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  .mm-tools-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
    letter-spacing: -0.045em;
  }

  .mm-tools-grid {
    gap: 18px;
  }

  .mm-tool-card {
    border-radius: 20px;
  }

  .mm-tool-image {
    min-height: 140px;
    padding: 20px;
  }

  .mm-tool-image img {
    max-height: 125px;
  }

  .mm-tool-card h3 {
    font-size: 1.32rem;
  }

  .mm-tools-button,
  .mm-tool-link {
    width: 100%;
  }

  .mm-choice-card {
    padding: 20px;
  }
}